struts-user mailing list archives

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

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:
Sent from the Struts - User mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message