It's not a secret anymore!
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 Make it so: Java DB Connections & Transactions this week in the JDBC 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

Problem with JavaBeans.HELP.URGENT

bogdanpetrescu gigi

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"
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$ 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?
I agree. Here's the link:
subject: Problem with JavaBeans.HELP.URGENT
It's not a secret anymore!