The Artima Developer Community
Sponsored Link

Web Services Forum
PROBLEMS WITH JSP USING JAVABEANS

1 reply on 1 page. Most recent reply: May 6, 2003 5:10 AM by Thejus

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 1 reply on 1 page
bogdan

Posts: 3
Nickname: killaz
Registered: Mar, 2003

PROBLEMS WITH JSP USING JAVABEANS Posted: Apr 2, 2003 1:15 PM
Reply to this message Reply
Advertisement
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.ja va:67: Class licentza.ParamBean not found.
ParamBean paramBean = null;

What is the problem?Thank you.


Thejus

Posts: 3
Nickname: parasmal
Registered: May, 2003

Re: PROBLEMS WITH JSP USING JAVABEANS Posted: May 6, 2003 5:10 AM
Reply to this message Reply
You need to import ParamBean class in your JSP file.

Flat View: This topic has 1 reply on 1 page
Topic: Calling Java ApI from ASP Previous Topic   Next Topic Topic: Urgent...

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use