You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by shaman jain <ja...@rediffmail.com> on 2003/08/20 15:50:07 UTC
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: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org