DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10714>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10714

JSP does not compile if useBean tag refers to bean  w/o package name in WEB-INF/classes





------- Additional Comments From [EMAIL PROTECTED]  2002-07-11 21:00 -------
Ooops, that got sumbitted on return in description text field. 

To reproduce: 

1) Create a web module directory
2) Create a JavaBean directly under WEB-INF/classes (don't create 
   a package under WEB-INF/classes)
3) Create a JSP at the web module root which refers to the 
   bean with a useBean tag. 
4) The JSP does not compile. 

I have added an attachment containing a web module which reproduces 
this problem. The web module contains identical JavaBeans
pkg.PackageBean and NoPackageBean in the WEB-INF/classes directory. 
It contains identical PackageBeanJSP.jsp and NoPackageBeanJSP.jsp 
files at the root of the web module. NoPackageBeanJSP.jsp cannot
be run on the server. 

I marked this as normal, but I think it possibly has higher priority,
because it's likely to fool new users of the server who are writing
their first web app and are experimenting with the JSP spec (I 
have seen this happen to people). In Netbeans, we use Tomcat as 
the execution environment for web app development and it is 
particularly important that people can write HelloWorld style 
application as they begin to use the environment. 

Ana

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to