Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

what will go in init() methord when JSP get compiled

 
ram gaurav
Ranch Hand
Posts: 208
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

Like when i write in JSP

<jsp:scriptlet>
out.println("JAI SHRI RAM");
</jsp:scriptlet>

and when it is compiled into servlet then it will go under _jspService() methord.

I want to ask that from a JSP page what will go in init() methord.

Thanks
Regards
Gaurav
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
One way to find out is to look at the generated source code.
In Tomcat, you will find this under the tomcat/work directory.

Other servers will have it in a different place.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic