struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fin <sskach...@gmail.com>
Subject struts2, params interceptor works incorrect when user submits large file
Date Sun, 06 Jan 2008 14:32:46 GMT

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


Mime
View raw message