File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes servlet class of my jsp page Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "servlet class of my jsp page" Watch "servlet class of my jsp page" New topic

servlet class of my jsp page

rucha kulkarni

Joined: Aug 05, 2010
Posts: 22
hi friends,
where i can see the generated servlet class of my jsp page?
J. Kevin Robbins
Ranch Hand

Joined: Dec 16, 2010
Posts: 632

It varies depending on your server. On my Tomcat 6.0 on Redhat system they are located under /opt/apache-tomcat-6.0.20/work/Catalina/localhost/mfgweb/org/apache/jsp.

If you are working in an IDE, you can usually see it from there. In Netbeans 7.2, right-click the file in the Projects view and choose "View Servlet". I'm sure Eclipse has a similar function somewhere.

"There is no reason for any individual to have a computer in his home" ~ Ken Olson, Co-founder of DEC, 1977
I agree. Here's the link:
subject: servlet class of my jsp page
Similar Threads
Http 404 Error with servlet deployment. might be simple, but its irking
Data from database on the index page
I'm new to sevlets help
JSP --> Servlet --> JDBC
Can we change the name of class file which we get after running a jsp page