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.
- Please remove the nonsense second paragraph and report what you have tried so far.Harald– Harald2015-02-14 09:22:11 +00:00Commented 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.toniedzwiedz– toniedzwiedz2015-02-14 19:48:16 +00:00Commented 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.user3087449– user30874492015-02-15 15:48:16 +00:00Commented Feb 15, 2015 at 15:48
Add a comment |