You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Jung, Eric (Contractor)" <ej...@russellmellon.com> on 2002/08/06 19:27:57 UTC

struts-example.war works fine, but not struts-upload.war

Hello,
I've been working with Struts for some time now, but until recently hadn't
used Struts with multipart forms to upload files. Here is my problem:

All of my Struts applications work fine, including the example Struts
applications packaged in jakarta-struts-1.1-b1/webapps. But if an
application has a multipart form, an exception is thrown when the form is
submitted. This includes the sample struts-upload.war that comes with
Struts.

Here's the exception when submitting the multipart form upload.jsp in the
sample application struts-upload.war:

<Aug 6, 2002 12:20:12 PM EDT> <Error> <HTTP>
<[WebAppServletContext(4498314,struts-upload,/struts-upload)] Servlet failed
with ServletException
javax.servlet.ServletException: Original request not available
        at
weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImp
l.java:115)
        at
org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:97
2)
        at
org.apache.struts.action.RequestProcessor.processActionForward(RequestProces
sor.java:408)
        at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:269)
        at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1109)
        at
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:470)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:265)
        at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:200)
        at
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
ntext.java:2495)
        at
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
:2204)
        at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
        at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
>

I am using Struts-1.1-b1, WebLogic 6.1 sp2, and JDK 1.3.1 on Windows 2000.
Has anyone else seen this behavior? I know it must be some problem in my
environment, but I can't seem to figure it out. Any help would be greatly
appreciated.

Sincerely,

Eric Jung
Software Engineer
Russell/Mellon Analytical Services
Everett, MA, USA
1-617-382-1373
ejung@russellmellon.com


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>