Howdy,
Import the bean class in your JSP.  Make sure the directory name is
classes not calsses.  Give your message a better subject than "Problem"
or "Urgent."  And read the FAQ.

Yoav Shapira
Millennium ChemInformatics


>-----Original Message-----
>From: shaman jain [mailto:[EMAIL PROTECTED]
>Sent: Wednesday, August 20, 2003 9:50 AM
>To: Stuart MacPherson
>Cc: [EMAIL PROTECTED]
>Subject: Problem
>
>hi all,
>i m having follwing problem
>pls help me out ASAP as its really urgent
>
>C:\tomcat\work\Standalone\localhost\callreg\passcall_jsp.java:58:
>package callreg does not exist
>       callreg.URLBean db = null;
>An error occurred at line: 2 in the jsp file: /passcall.jsp
>Generated servlet error:
>C:\tomcat\work\Standalone\localhost\callreg\passcall_jsp.java:60:
>package callreg does not exist
>         db = (callreg.URLBean) pageContext.getAttribute("db",
>PageContext.APPLICATION_SCOPE);
>An error occurred at line: 2 in the jsp file: /passcall.jsp
>Generated servlet error:
>C:\tomcat\work\Standalone\localhost\callreg\passcall_jsp.java:63:
>package callreg does not exist
>             db = (callreg.URLBean)
>java.beans.Beans.instantiate(this.getClass().getClassLoader(),
>"callreg.URLBean");
>
>and my dir structure is:
>c:/tomcat/webapps/callreg/web-inf/calsses/callreg/URLBean.class
>c:/tomcat/webapps/callreg/web-inf/lib/tds.jar
>
>and i am includeing jsp as
><jsp:useBean id="db" scope="application" class="callreg.URLBean"
>/>
>
>and connecting as
>Class.forName(db.getDriver());
>Connection
>con=DriverManager.getConnection(db.getUrl(),db.getUser(),db.getPassword
());
>
>
>thanx in advance
>rgrds
>Shaman
>
>
>___________________________________________________
>Meet your old school or college friends from
>1 Million + database...
>Click here to reunite www.batchmates.com/rediff.asp
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to