File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Tomcat and the fly likes Not able to see the generated servlet from jsp. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of JavaScript Promises Essentials this week in the JavaScript forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Not able to see the generated servlet from jsp." Watch "Not able to see the generated servlet from jsp." New topic
Author

Not able to see the generated servlet from jsp.

upanshu vaid
Ranch Hand

Joined: Sep 07, 2012
Posts: 73

Hi ,
I am not able to see the generated servlet while running jsp.
I did a bit of google search but not succeed .
I also configured the web.xml in conf folder of tomcat

kindly help on this.
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12821
    
    5
1. Which version of Tomcat?
2. Where did you look for the generated servlet?

Bill
upanshu vaid
Ranch Hand

Joined: Sep 07, 2012
Posts: 73

Thanks,
I am using version apache-tomcat-6.0.37 ,
I am looking in the following path
C:\Program Files (x86)\apache-tomcat-6.0.37\work\Catalina\localhost
and under the localhost folder there is no folder getting generated for the mine webapp name.
Thanks again
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12821
    
    5
Hmmm - in my Tomcat 6.0.14 I find the following under work: ( note, .......... added to create indent )

Catalina
.....Localhost
........._ (thats a single underscore character)
............ org
................. apache
.......................jsp (has index_jsp.java and index_jsp.class

Where index.jsp sits in the ROOT directory.

Since the default for keepgenerated is true, my web.xml does not change the default.

Bill
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Not able to see the generated servlet from jsp.