Hi Zoran, not directly helpful, but here's a link which will enable you
to search the archives:

http://marc.theaimsgroup.com/?l=struts-user

Geeta

-----Original Message-----
From: Zoran Avtarovski [mailto:[EMAIL PROTECTED] 
Sent: Thursday, September 23, 2004 9:12 AM
To: Struts Users Mailing List
Subject: File Upload Limits

I'm trying to find some detailed information on how to use the file size
limits using the struts MultipartRequestHandler. In the past I have used
a
custom servlet, but I thought it was time to bring this into the struts
world.

Before anybody says anything, I tried to search the list archive but it
says
it can't be searched.

So anyway I looked at the fileupload example, and have done the
following:

Added the controller element
<controller maxFileSize="2M" inputForward="true" />

To my struts-config and in my UploadForm validate action I check the
boolean
request.getAttribute(MultipartRequestHandler.ATTRIBUTE_MAX_LENGTH_EXCEED
ED);

I take it from this that the requesthandler sets a boolean value in the
request if the file is greater in size than specified in the controller
element.

The problem is that this isn't working.

Any help would be appreciated.

Zoran



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




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

Reply via email to