1

I am making a website in Servlet&JSP. I am looking for good way to make a specific function file from where I can call and declare my common functions. If I made a java file function. Java, so is it required to include it, in every page where I want that or there is any specific way to do this kind of global stuff.

3
  • Please remove the nonsense second paragraph and report what you have tried so far. Commented Feb 14, 2015 at 9:22
  • For the sake of everyone working on the codebase in which you want to do this. Please keep this sort of logic out of JSP. It's a much better idea to place all of your business logic in Java classes and only expose very simple objects in JSP, making it just the presentation layer. Commented Feb 14, 2015 at 19:48
  • thanks... actually i just started working in jsp/servlet. so can you please suggest me better way to build web applications or can you share several pre-build application with me which you made so far .... show that i can lean from them. Commented Feb 15, 2015 at 15:48

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.