This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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
 
Don't get me started about those stupid light bulbs.
 
subject: form to jsp request object is lost
 
Similar Threads
how can I make two actions communicate with each other
access objects in a session
Struts forward problem
Retrieving Request Attribute in IFRAME
jsp > servlet > jsp......URLs???