jsp cannont find my bean class

2006-01-09 Thread marju jalloh
Hi everyone I`m using Tomcat 4.1.* on Linux .All my servlet and jsp work fine including the interaction with mysql database. Now I want to test a simple Bean but my jsp cannont find the Bean. Where to place the jsp file? How to direct the jsp file where to find the bean?

Re: jsp cannont find my bean class

2006-01-09 Thread Tim Funk
http://tomcat.apache.org/faq/classnotfound.html See Don't use packageless classes and declare all imported classes -Tim marju jalloh wrote: Hi everyone I`m using Tomcat 4.1.* on Linux .All my servlet and jsp work fine including the interaction with mysql database. Now I want to

Re: jsp cannont find my bean class

2006-01-09 Thread Edoardo Panfili
marju jalloh ha scritto: Hi everyone I`m using Tomcat 4.1.* on Linux .All my servlet and jsp work fine including the interaction with mysql database. Now I want to test a simple Bean but my jsp cannont find the Bean. Where to place the jsp file? How to direct the jsp file where

Re: jsp cannont find my bean class

2006-01-09 Thread marju jalloh
I understand what you mean but where the jsp file should be Edoardo Panfili [EMAIL PROTECTED] wrote: marju jalloh ha scritto: Hi everyone I`m using Tomcat 4.1.* on Linux .All my servlet and jsp work fine including the interaction with mysql database. Now I want to test a simple

RE: jsp cannont find my bean class

2006-01-09 Thread marju jalloh
I don`t know what is going wrong I place my compiled bean in mywabapps/WEF-INF/classes/com and my jsp file in mywebapps and my path is jsp:useBean id=stringBean class=com.mybean / when access I got two error 1. javax.servlet.ServletException: com/mybean (wrong name: mybean 2.

Re: jsp cannont find my bean class

2006-01-09 Thread Dwayne A. Ghant
You got the right idea. Now just place the bean into your mywabapps/WEF-INF/classes/com/mybean directory and you should be fine. Just to be safe make sure you JSP page recompiles. marju jalloh wrote: I don`t know what is going wrong I place my compiled bean in