Hi,
I am facing a very peculiar problem. I am trying to execute the multipart request program given by jason hunter. I am calling the program from another
servlet which passes the file name to the multipartrequest program. It works till the point that that point as soon as the multipartrequest class is executed in the weblogic console i am getting this error.
Mon Aug 13 15:11:10 CDT 2001:<E> <ServletContext-General> Servlet failed with Exception
java.lang.LinkageError: Class javax/servlet/http/HttpServletRequest violates loader constraints
at com.oreilly.servlet.multipart.MultipartParser.<init>(MultipartParser.
java:70)
at com.oreilly.servlet.multipart.MultipartParser.<init>(MultipartParser.
java:83)
at com.oreilly.servlet.MultipartRequest.<init>(MultipartRequest.java, Compiled Code)
at FileGot.doPost(FileGot.java, Compiled Code)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:772)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:120)
at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletCon
textImpl.java:922)
at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletCon
textImpl.java:886)
at weblogic.servlet.internal.ServletContextManager.invokeServlet(Servlet
ContextManager.java:269)
at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.jav
a:380)
at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:268)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled Code)
Firstly
where should i be keeping the com.orielly package. I have put it in the servletclasses direcory
Secondly
where should the jsdk2.1 path be given.
Please help
Rohit