Win a copy of The Java Performance Companion this week in the Performance forum!
    Bookmark Topic Watch Topic
  • New Topic

Struts ActionForm getting cleared after submission

 
Mayank Rana
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Report post to moderator
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
Posts: 9521
22
Android Google Web Toolkit Hibernate IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Report post to moderator
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.
 
Mayank Rana
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Report post to moderator
Sorry...

I have moved my question to the other page.

Thanks,
Mayank
 
    Bookmark Topic Watch Topic
  • New Topic