aspose file tools*
The moose likes Servlets and the fly likes Struts ActionForm getting cleared after submission Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Reply locked New topic
Author

Struts ActionForm getting cleared after submission

Mayank Rana
Greenhorn

Joined: Apr 04, 2009
Posts: 4
Hi,

I have a web application with a page working on 2 action classes sharing 1 form.

In very rare cases, the form value gets cleared just before validation and user gets a blank page with error messages on.

I have checked my reset method and it's been implemented correctly. I read in one of the articles that this kind of thing could happen when we upload a file and the request size exceeds the max size and MultipartRequestHandler objects throws an exception. In my case there is no file upload involved but I am getting the exact same problem. Do you think my request object would have any restriction on size too or something?? I am badly stuck!

Please help!!

Many Thanks,
Mayank
Ankit Garg
Sheriff

Joined: Aug 03, 2008
Posts: 9321
    
  17

Hi Mayank, welcome to javaranch.

Well this is the wrong forum to post this question. There is a separate forum for struts here. Someone will move your question there.


SCJP 6 | SCWCD 5 | Javaranch SCJP FAQ | SCWCD Links
Mayank Rana
Greenhorn

Joined: Apr 04, 2009
Posts: 4
Sorry...

I have moved my question to the other page.

Thanks,
Mayank
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Struts ActionForm getting cleared after submission