Hey,

If this is true, then how does one standardly get around this issue when forms 
submit? Since I believe there is a separate service which processes the forms 
and attempts to get an InputStream and is causing the crash.

I'm really working on a hybrid clickstream tracking filter which reads in all 
request parameters and dumps them to a separate db before passing the request 
along.

The web software I'm attempting to attach it to requires me to put together 
this custom job rather than use something available such as opensymphony's 
clickstream.

Regards,
Paul

-----Original 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.

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 request (for example file upload, request body is
xml, etc.).
You had better call request.getParameter() otherwise.

Best,
Aram
________________________________
Aram Mkhitaryan

52, 25 Lvovyan, Yerevan 375000, Armenia

Mobile: +374 91 518456
E-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to