Originally posted by Jeroen Wenting:
You shouldn't need to anyway. JSP aren't meant to hold business logic, only display logic.
If you think you need to put any computation or data manipulation code in a JSP you need to instead rethink your application design.
You have got the best suggestion, Vara.
Originally posted by vara prasad:
where can we provide the infomation of servlet's init() method in jsp
You can declare your JSP page as a servlet in your web.xml file and provide intialization parameters just like you would any other servlet. Then, in your JSP page, you can access the implicit config object (a ServletConfig instance) to access the servlet-specific information related to your JSP page.
Is that what you were asking about?