You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by jo...@fwd.at on 2003/03/30 12:28:33 UTC

Strange naming effect when trying to compile JSP using JSPC

hi there,

Imagine the following file structure for the ant build process:
/jsp/firstpart/form.jsp
/jsp/secondpart/form.jsp

if I try to compile these jsps using jspc, they get generated as expected 
to
/jsp-src/firstpart/form_jsp.java
/jsp-src/secondpart/form_jsp.java
==> Then I try ant compile, but the compiler complains about having two 
jsps with the same name!!!

If I put the JSPs into the static web directory:
/web/firstpart/form.jsp
/web/secondpart/form.jsp
==> then everything runs smoothly.

How can I get rid of this strange effect??
thx alot
Johannes