tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jacob Kjome <>
Subject Re: JavaBean problem
Date Wed, 29 Jan 2003 04:34:30 GMT

Is the bean in an actual defined package or the default package (no 
package).  It *must* be in a package.  So, instead of 
WEB-INF/classes/MyBean, it would be something like 

Now import the com.mypackage.MyBean bean into your jsp.  Things should work 
better now.


At 05:38 PM 1/28/2003 -0800, you wrote:
>I have just created and compiled my first JavaBean
>into <tomcat-install>\webapps\ROOT\WEB-INF\classes and
>am tying to access it from a jsp page in
><tomcat-install>\webapps\ROOT directory. I am getting
>jsp compile errors because the jsp page cannot find
>the class defined in the JavaBean.
>Any help would be appreciated. My version of tomcat is 4.1.18.
>Do you Yahoo!?
>Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
>To unsubscribe, e-mail:
>For additional commands, e-mail:

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message