Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Please help! Cannot find serlvet code and classes.

Status
Not open for further replies.

shine67

Programmer
Jan 11, 2002
41
US
Hi,

in a main jsp file, main.jsp, I have

<%@ include file=&quot;test.jsp&quot; %>

Without modifying main.jsp, I modified test.jsp but the change is not reflected on the screen. So I tried to find the servlet code/class, test.java/test.class, to manually delete but couldn't find. I know that under WebLogic you can define the path for the directory where you want the servlet classes generated but I can't find anywhere in Tomcat directory where I can set such path. I even issued 'find' command (on unix) to search for them but nothing comes up. Would you please help me on how to find those files or how to setup the classpath under Tomcat?

Thanks,
Shine
 
Hi there,

Jsp pages are compiled in the &quot;works&quot; directory under tomcat. You should delete the files there if you have problems with old jsp's being loaded. Also If you change your code, you should always shutdown tomcat and restart it again to make shure all the new servlets are loaded in tomcat's memory.


Regards, Goaganesha
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top