Hi Chuck, Thanks for your note, I think I understand.
I preface the remark below once again, with "being a newbie": I hadn't gotten around to read everything I should have, but I was getting confused by the fact that a class file was in $CATALINA_HOME/webapps/sample/WEB-INF/classes directory and after my removing it and modifying the source, it didn't appear in the same directory (nor anywhere under $CATALINA_HOME/webapps) and yet my modification was reflected in the output page. What I understood empirically is that there is no need for a class file in $CATALINA_HOME/webapps/sample/WEB-INF/classes directory. If so, why should the distribution come with it? If it hadn't, it would've been less confusing and I would have avoided my poor expression "deep secret." Regards, Tena Sakai -----Original Message----- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: Tue 8/18/2009 9:35 PM To: Tomcat Users List Subject: RE: (newbie question) missing classs file? > From: Tena Sakai [mailto:tsa...@gallo.ucsf.edu] > Subject: RE: (newbie question) missing classs file? > > Being a newbie, I had no idea such "deep secret" existed. It's not a deep secret. Look at the JSP doc: http://tomcat.apache.org/tomcat-6.0-doc/jasper-howto.html and at conf/web.xml for the JSP servlet parameters. Note especially the default for the scratchdir parameter. > Since the distribution contained a directory: > $CATALINA_HOME/webapps/sample/WEB-INF/classes > with a class file, I was completely blinded to look elsewhere. Note that that is mypackage.Hello, not anything associated with a JSP. Look in the servlet mappings in webapps/sample/WEB-INF/web.xml to see how to invoke the mypackage.Hello servlet. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org