View Single Post
Old 05-16-2005, 04:44 AM   #3 (permalink)
tak2kuldeep
Registered User
 
Join Date: May 2005
Posts: 2
tak2kuldeep is on a distinguished road
thanx for responding

hello frnd

thanx for ur suggestion to my problem
and i will look further to listen from u on this topic later also as u have said.....

actually i tried the way which u suggested .
i placed the .class file instead of the jar in a package then placed this package in the class folder of the WEB-INF folder containing the web.xml and lib folder alongside.
in the lib folder of this i have plaaced to jar files which are basically meant for the drivers..i think they are : catalina.root.jar and mysql.connector.java.3.1.7-bin.jar


then i run it from the ie browser which resulted in the following:

org.apache.jasper.JasperException: Unable to compile class for JSP

Generated servlet error:
The import TestSQLLoad cannot be resolved


org.apache.jasper.compiler.DefaultErrorHandler.jav acError(DefaultErrorHandler.java:84)
org.apache.jasper.compiler.ErrorDispatcher.javacEr ror(ErrorDispatcher.java:328)
org.apache.jasper.compiler.JDTCompiler.generateCla ss(JDTCompiler.java:389)
org.apache.jasper.compiler.Compiler.compile(Compil er.java:288)
org.apache.jasper.compiler.Compiler.compile(Compil er.java:267)
org.apache.jasper.compiler.Compiler.compile(Compil er.java:255)
org.apache.jasper.JspCompilationContext.compile(Js pCompilationContext.java:556)
org.apache.jasper.servlet.JspServletWrapper.servic e(JspServletWrapper.java:296)
org.apache.jasper.servlet.JspServlet.serviceJspFil e(JspServlet.java:295)
org.apache.jasper.servlet.JspServlet.service(JspSe rvlet.java:245)
javax.servlet.http.HttpServlet.service(HttpServlet .java:802)



i will look forwars for your response

thanx a lot
reagrds,
kuldeep singh
tak2kuldeep is offline   Reply With Quote