Re: [s1] Filters / State Exceptions

2007-03-07 Thread Paul Saumets
my filter is the ONLY configured filter on the server. Thoughts? Thanks, Paul _ From: Laurie Harper [mailto:[EMAIL PROTECTED] To: user@struts.apache.org Sent: Tue, 06 Mar 2007 16:25:26 -0500 Subject: Re: [s1] Filters / State Exceptions Without seeing your filter code and web.xml it'

RE: [s1] Filters / State Exceptions

2007-03-07 Thread Paul Saumets | Merge
riginal Message- From: Aram Mkhitaryan [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 07, 2007 1:39 AM To: Struts Users Mailing List Subject: Re: [s1] Filters / State Exceptions Hi, That's a general problem! You are right, request.getParameter() causes request.getInputStream() call.

Re: [s1] Filters / State Exceptions

2007-03-06 Thread Aram Mkhitaryan
Hi, That's a general problem! You are right, request.getParameter() causes request.getInputStream() call. You should decide if you want to get parameter from request or get input stream. Input stream from the request is usually used if you want to manually handle the "spacial" formatted reque

Re: [s1] Filters / State Exceptions

2007-03-06 Thread Laurie Harper
Without seeing your filter code and web.xml it's hard to be sure, but my guess would be that you need to modify the order you apply your filters in. Remember that, with a file upload, form parameters are transmitted in the request body rather than as a query string. It sounds like req.getParame

Re: [s1] Filters / State Exceptions

2007-03-06 Thread Paul Saumets
As a side note, My filter has a couple req.getParameter calls (which I think in-turn calls an InputStream somehow?) in it's doFilter method which seems to be causing the state exceptions later after a form is submitted. Is there a way to avoid this or a way to ensure filters arn't processed whe