Hello QM, Thank you very much for replying. Unfortunately the web.xml excerpt was a copy/paste. The full file is VERY large (>4000 lines) so I won't post it here but I'll give you a larger sample. I did notice late yesterday that there are duplicate file names among the subdirectories so I definitely need to have the subdirectories included in the package statement. In order to do this I think I need to use the Ant build instead of calling jspc (or rather jspc.sh) directly, correct? I'll have to copy all the files off of the server and onto my PC to do this but I'm not to worried about that at this point. If I use the Ant method as described in the docs will it add the subdirectories to the package statement and create the web.xml fragment correctly by default or do I need to do something special to enable this? Here's a larger sample of what the non-Ant jspc.sh compile-attempt produced for the web.xml fragment (I did not use the -package option, obviously):
<!-- Automatically created by Tomcat JspC. Place this fragement in the web.xml before all icon, display-name, description, distributable, and context-param elements. --> <servlet> <servlet-name>org.apache.jsp.entry_jsp</servlet-name> <servlet-class>org.apache.jsp.entry_jsp</servlet-class> </servlet> <servlet> <servlet-name>org.apache.jsp.entry_process_jsp</servlet-name> <servlet-class>org.apache.jsp.entry_process_jsp</servlet-class> </servlet> <servlet> <servlet-name>org.apache.jsp.gso_jsp</servlet-name> <servlet-class>org.apache.jsp.gso_jsp</servlet-class> </servlet> . . // A BUNCH more servlet declarations here, then eventually... . <servlet-mapping> <servlet-name>org.apache.jsp.entry_jsp</servlet-name> <url-pattern>/entry.jsp</url-pattern> </servlet-mapping> <servlet-mapping> <servlet-name>org.apache.jsp.entry_process_jsp</servlet-name> <url-pattern>/entry_process.jsp</url-pattern> </servlet-mapping> <servlet-mapping> <servlet-name>org.apache.jsp.gso_jsp</servlet-name> <url-pattern>/gso.jsp</url-pattern> </servlet-mapping> Jason --- QM <[EMAIL PROTECTED]> wrote: > On Tue, May 25, 2004 at 09:12:58AM -0700, Jason > Palmatier wrote: > : Is having the subdirectories in the "package" > : statement the crucial step I need to solve this? > > Sort of. =) > > As long as you can: > 1/ produce unique .class file names for each > compiled > JSP (i.e. so /x/here.jsp and /y/here.jsp) > > and > > 2/ hold onto those names long enough to create the > web.xml > mappings > > then it should work. Using a JSP's directory path > in the package name > helps with the uniqueness constraint. > > > The web.xml excerpt from your original message had > some errors in it. Was > that a direct copy/paste or did you hand-type it? > That's probably the > source of the problem, if the class files are > correctly named/packaged and > available to Tomcat. Please post the entire file. > > -QM > > -- > > software -- http://www.brandxdev.net > tech news -- http://www.RoarNetworX.com > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > __________________________________ Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger. http://messenger.yahoo.com/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]