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 "/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 /WEF-INF/classes/com and my jsp

RE: jsp cannont find my bean class

2006-01-09 Thread Charl Gerber
Is com.mybean the class or the package? If the class, you are encouraged to name the class with a capital letter, ie: com.MyBean or com.Mybean. Did you import the class at the top of the jsp? <[EMAIL PROTECTED] import="com.MyBean" %> --- marju jalloh <[EMAIL PROTECTED]> wrote: > I don`t know w

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 /WEF-INF/classes/com and my jsp file in and my path is when access I got two error 1. javax.servlet.ServletException: com/mybean (wrong name: mybean 2. java.lang.NoClassDefFoundError: com/mybean (wrong name: myb

RE: jsp cannont find my bean class

2006-01-09 Thread Fredrik Rubensson
Hi, > Where to place the jsp file? It can be in any directory under you webapp. Typically you place it in the root directory of your app. So if your app is called "mygoodapp" the jsp can be placed in /webapps/mygoodapp/ or any subdirectory. If it is called jsppage.jsp you can access it with ht

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 simp

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

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 te