File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes form to jsp request object is lost Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "form to jsp request object is lost" Watch "form to jsp request object is lost" New topic
Author

form to jsp request object is lost

Dimple Patra
Greenhorn

Joined: Jun 28, 2002
Posts: 17
Hi..

I need help. I am bigginer in Struts.
I have flow like from form1 to action1 then jsp1. but incase form1 has some error it goes to ActionErrors class. here if I set any request object in form1 and try to see in jsp1 then I dont see that.

Please help.

Dimple
Pavan Tummala
Ranch Hand

Joined: Dec 25, 2004
Posts: 74
Dimple,
what is it that you are setting in the request upon error. Did you over ride validate method in the ActionForm?


If Java had true garbage collection, most programs would delete themselves upon execution -- Robert Sewell
Dimple Patra
Greenhorn

Joined: Jun 28, 2002
Posts: 17
Problem is resolved by putting value into session instead of request object.

Thanks
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: form to jsp request object is lost