wood burning stoves*
The moose likes EJB and other Java EE Technologies and the fly likes Problem with JavaBeans.HELP.URGENT Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Problem with JavaBeans.HELP.URGENT" Watch "Problem with JavaBeans.HELP.URGENT" New topic
Author

Problem with JavaBeans.HELP.URGENT

bogdanpetrescu gigi
Greenhorn

Joined: Mar 31, 2003
Posts: 1
Hi, i have problems with JavaBeans in JSP.
In a jsp file( locating in ROOT directory of tomcat 4.0.6 :jakarta-tomcat-4.0.6\webapps\root ) i have this code:
<jsp:useBean id="paramBean" class="licentza.ParamBean" />
<jsp:setProperty name="paramBean"
property="nume"
value='<%= request.getParameter("numeUser") %>' />
where ParamBean it's a "bean" class locating in jakarta-tomcat-4.0.6\webapps\examples\web-inf\classes\licentza (licentza is the package i'm using).
And i get this error:
Generated servlet error:
D:\jakarta-tomcat-4.0.6\work\Standalone\localhost\_\dora\intrare2$jsp.java:67: Class licentza.ParamBean not found.
ParamBean paramBean = null;
What is the problem?Thank you.
Chris Mathews
Ranch Hand

Joined: Jul 18, 2001
Posts: 2712
Where is the licentza.ParamBean class located?
 
Consider Paul's rocket mass heater.
 
subject: Problem with JavaBeans.HELP.URGENT
 
Similar Threads
Tomcat Servlet/Bean 500 Error
Plz help, code is provided.
ant tomcat dist -wrong file structure specified
JSP can't find bean classes
simple JSP and JavaBean, error 500