Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Not able to see the generated servlet from jsp.  RSS feed

 
upanshu vaid
Ranch Hand
Posts: 83
Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
1. Which version of Tomcat?
2. Where did you look for the generated servlet?

Bill
 
upanshu vaid
Ranch Hand
Posts: 83
Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!