When a page is precompiled (or even compiled at run time) - all that is required is a valid java class name. (By the spec).
So it could be legal for tomcat to translate every jsp into a class called more.Cowbell.java. This is ok since every JSP is loaded under its own class loader.
But this would be a pain for debuggers since any breakpoint in the "more.Cowbell" class could turn into debugging hell. So the naming of classes is some composite of what you see below.
-Tim
Billy Ng wrote:
Hi folks,
I am using ant to precompile the jsp files. Let's say the in package name is "com.mycompany.jsp" and the jsp file is in the /jsp/admin/logon.
After the jsp compiled to java, the package name becomes
com.mycompany.jsp.WEB_0002dINF.jsp.admin.logon
Why?
Thanks!
Billy Ng
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]