You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by fin <ss...@gmail.com> on 2008/01/06 15:32:46 UTC

struts2, params interceptor works incorrect when user submits large file

Hello, 
I'm completely stuck with following problem:

I have a form with one input type='file' field and one hidden input which
named documentId.

Normally when user uploads a file, value from hidden input passed into my
action property named documentId, so prepare() method retrieves some data
from DB to show it in on jsp.

Everything works well until user uploads file that larger than preconfigured
limit, in that case documentId property stays empty.

I cant understand why its works that way, in my interceptor stack fileupload
interceptor configured to be executed after params and prepare interceptor.

Of course I can store documentId in session instead of passing it through
request, but I want to understand whats going on? why params interceptor is
not working?
-- 
View this message in context: http://www.nabble.com/struts2%2C-params-interceptor-works-incorrect-when-user-submits-large-file-tp14649103p14649103.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org