You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Saha Rabindra N <Ra...@acs-hro.com> on 2006/06/29 21:19:27 UTC
Simple problem
Hi All,
I am using Apache Tomcat/4.1.31 version.
I created a simple test application in webapps folder and that refers a simple javabean under WEB-INF/classes folder.
But when I run the jsp page that refers the javabean, it does not find the class file for that bean.
Now if I create a package under WEB-INF/classes and then put my java bean there and then refer that javabean from jsp file
with <packagename>.<beanname> then it works OK.
Can someone tell me if that is a bug in Tomcat, or I am missing something.
Thanks for your help.
RNS
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Simple problem
Posted by Mark Thomas <ma...@apache.org>.
Saha Rabindra N wrote:
> Can someone tell me if that is a bug in Tomcat, or I am missing something.
You are missing the fact the the spec requires all classes to be in
packages.
Mark
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org