• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Bear Bibeault
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Jj Roberts
  • Tim Holloway
  • Piet Souris
Bartenders:
  • Himai Minh
  • Carey Brown
  • salvin francis

generated servlet of jsp file

 
Ranch Hand
Posts: 384
MyEclipse IDE Spring Java
  • 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.


 
Saloon Keeper
Posts: 6704
161
Android Mac OS X Firefox Browser VI Editor Tomcat Server Safari
  • 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
MyEclipse IDE Spring Java
  • 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?
 
Bartender
Posts: 1845
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
MyEclipse IDE Spring Java
  • 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
 
This. Exactly this. This is what my therapist has been talking about. And now with a tiny ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
reply
    Bookmark Topic Watch Topic
  • New Topic