Hello friends,
I am working on Servlet/JSP project. There are large no. of
jsp pages. A common set of methods get repeated in all the jsp pages. Now my concen is to separate out the methods in a file and then use it in jsp page.
I have taken out the methods and created a separate jsp page and have included it in all the required JSPs. The other approach which comes to my mind is to create a simple
java class with the common utility and importing it in JSPs.
Kindly suggest me the right path to follow, taking into consideration that we take up the optimized solution.
Please reply ASAP since it is quite URGENT !
Thanks in advance.
Regards.