I am using the 1.0 b1 build of Struts, not a nightly version or b2.  I will
give that a shot tomorrow.

The error message I get in IE 5.5 is Server not Found, possible DNS error.
Of course that is wrong because if I just type in the exact path it was
redirecting to, it works fine.  And if I forward instead of redirect to the
same path, it works fine.

If I then do a Refresh in my browser, A NullPointerException is thrown, not
exactly sure where.

--
Thanks,
Michael Binette


-----Original Message-----
From: SCHACHTER,MICHAEL (HP-NewJersey,ex2) [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 30, 2001 4:12 PM
To: '[EMAIL PROTECTED]'
Subject: RE: Multipart and IIS


Michael,

Could you give more information on the nature of the failure?
Are any error messages displayed?

Also, what build of Struts
are you using?  There was a short period of time (a few days maybe)
where this would be broken.  If not already doing so, I'd suggest
you try out a nightly build or beta 2.

-----Original Message-----
From: Michael Binette [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 30, 2001 12:18 PM
To: Struts-User
Subject: Multipart and IIS


I just created a jsp page with a <html:file> tag on it, setup the ActionForm
to accept the file, etc.  The Action class gets called, I do what I need to
do with the file and then return mapping.findForward("success").

The mapping is returning "/admin/index.jsp" which is correct.  In
struts-config, I have redirect="true" for the success forward.

When doing this on my devl machine, using Tomcat as my http and jsp server,
it works fine.

When doing this on our production system with IIS 5.0 as my http and Tomcat
3.2.1 as the jsp server, it fails.  The redirect is failing.  If I change it
to not redirect but forward, it works.  Or, if I take out the
enctype="multipart/form-data" from the posting page, the redirect works as
well.

Has anyone seen this?  Am I explaining it well enough?

--
Thanks,
Michael Binette

Reply via email to