You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Steve Downey <st...@netfolio.com> on 2001/12/18 21:47:25 UTC

[PATCH] Bug 5471 - JspC broken when compiling webapps

This patch changes CommandLineContext.getServletPackageName() to return a
package name based on the path to the JSP as well as the package name
supplied on the command line.

Without a change like this, a webapp that has files with the same name, such
as index.jsp, in more than one place is compiled incorrectly, with both JSP
files being mapped to the same servlet.

With this patch, the java files are placed in the correct directories, and
generation of web.xml works.


<><><><><><><><><><><><><><><><><><><><><>This electronic mail transmission
may contain confidential information and is intended only for the person(s)
named.  Any use, copying or disclosure by any other person is strictly
prohibited.  If you have received this transmission in error, please notify
the sender via e-mail. <><><><><><><><><><><><><><><><><><><><><>