• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

generated servlet of jsp file

 
Ranch Hand
Posts: 384
MyEclipse IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.


 
Bartender
Posts: 7645
178
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
MyEclipse IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

i am using GlassFish server . where it will put the generated servlet file of hello.jsp?
 
Bartender
Posts: 1845
10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
MyEclipse IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
reply
    Bookmark Topic Watch Topic
  • New Topic