Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

generated servlet of jsp file

 
naveen yadav
Ranch Hand
Posts: 384
Java MyEclipse IDE Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

hi ranchers,

i am using the Eclipse IDE for creating the jsp file (hello.jsp).

where can i find the generated servlet file of a hello.jsp.


 
Tim Moores
Bartender
Posts: 2734
36
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That has nothing to do with the IDE; it depends on which servlet container you're using. Tomcat keeps them in a directory called "work".
 
naveen yadav
Ranch Hand
Posts: 384
Java MyEclipse IDE Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

i am using GlassFish server . where it will put the generated servlet file of hello.jsp?
 
Stefan Evans
Bartender
Posts: 1691
10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It can in fact be affected by the IDE you're using.

The Eclipse WST plug-in for instance creates it's own working directory.
On my machine it has created it under: EclipseWorkspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\work\

You might try taking a look in a similar place
 
naveen yadav
Ranch Hand
Posts: 384
Java MyEclipse IDE Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i found the generated servlet file for login.jsp in

C:/glassfish3/glassfish/domains/domain1/generated/jsp/DemoProject_j2ee/org/apache/jsp/login_jsp.java
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic