tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Craig R. McClanahan" <>
Subject Re: cvs commit: jakarta-tomcat-4.0/jasper/src/share/org/apache/jasper
Date Mon, 05 Feb 2001 21:05:51 GMT wrote:

> When Jasper is run in a servlet
>   container it no longer puts the class files in a package, they are now
>   in the default package.

As was discussed earlier on TOMCAT-DEV, this is going to cause
portability problems for people who use beans that are not in packages. 
With this
change, such beans will work in Tomcat but not when the app is moved to
a different container that *does* put JSP-generated servlets into a

The previous behavior (Jasper-generated servlets go into a package)
avoided this, because it essentially disallowed non-packaged beans.
Therefore, I prefer it.

(Also, I seem to remember a discussion on the expert group for JSP 1.2
that non-packaged beans and generarted classes should be disallowed, but
I have not yet located any reference to this in the 1.2 spec.)


View raw message