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?
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
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
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
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.
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