The moose likes IDEs, Version Control and other tools and the fly likes generated servlet of jsp file Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Reply Bookmark "generated servlet of jsp file" Watch "generated servlet of jsp file" New topic
Author

generated servlet of jsp file

naveen yadav
Ranch Hand

Joined: Oct 23, 2011
Posts: 328


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
Rancher

Joined: Sep 21, 2011
Posts: 2329
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

Joined: Oct 23, 2011
Posts: 328


i am using GlassFish server . where it will put the generated servlet file of hello.jsp?
Stefan Evans
Bartender

Joined: Jul 06, 2005
Posts: 879
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

Joined: Oct 23, 2011
Posts: 328

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
 
 
subject: generated servlet of jsp file
 
Threads others viewed
Problem Using Bean in JSP
Help Installing Tomcat 4.0
Displaying a .jsp page using Tomcat Server
Cannot get <error-page> to work
JRUN exits abnormally
MyEclipse, The Clear Choice