mgainty wrote:
>
> 2.0.11 FileUploadIntereptor.java
>
> ActionContext ac = invocation.getInvocationContext();
> HttpServletRequest request = (HttpServletRequest)
> ac.get(ServletActionContext.HTTP_REQUEST);
> HashMap map = request.getParameterMap();
> //for further information take a look at
>
Yes if the file size is OK everything is fine. At first we used the default
stack. Then we took the default and modified it by moving the
fileUploadInterceptor below the params interceptor so it would look
something like this:
interceptor-stack name="ourUploadStack"
interceptor-ref name="ex
The OP wrote:
>> we are trying to use file upload in Struts 2...
Martin wrote:
Struts 1.2.9
Doh!
org.apache.struts.chain.servlet.validateActionForm
where the validate method is declared as
protected ActionErrors validate(Context context,
ActionConfig actio
Rubbinio wrote:
Hi,
we are trying to use file upload in Struts 2 and run into the following
problem.
We have a form with multiple fields among which one is a file input field.
The user must complete the form and then select a file to upload. If the
file size is larger than what we specify in th
Struts 1.2.9
org.apache.struts.chain.servlet.validateActionForm
where the validate method is declared as
protected ActionErrors validate(Context context,
ActionConfig actionConfig,
ActionForm actionForm)
//reference the actionF
5 matches
Mail list logo