You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Stephan Allner <al...@informatik.hu-berlin.de> on 2001/10/29 13:31:45 UTC

name conflicts when pre-compiling with JspC

Hi,

i attempt to pre-compile all jsp-files of a webapp with Tomcat 3.2.3 final
on a Linux machine. Everything seems to work fine, if i generate the
java-files with the following call:

tomcat/bin/jspc.sh -webinc tmp/webinc.xml -p "some.package.jsp" -d src \
  -webapp tomcat/webapps/somewebapp/

But under the webapp are many jsp-files with the same name (like index.jsp)
in different directories. JspC then puts all generated servlets (index.java)
in one package (some.package.jsp). So only one (index)servlet exists.
The servlet-mappings in the webinc.xml reflect this fact, too.

The next steps of the pre-compilation seems to be no problem (java->class,
webinc.xml->web.xml), but doesn't make much sense if the first step isn't
working.

Is there a way to change this behavior ? Any pointers or experiences ?
I searched a bit (maillinglist/web), but didn't found anything. 

I would also be interested if this problem/bug isn't fixed in tomcat-4.0 ?

Thanks in advance, Stephan


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>