This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes Struts and the fly likes Form in request. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Form in request." Watch "Form in request." New topic
Author

Form in request.

Shailesh Narkhede
Ranch Hand

Joined: Jul 10, 2008
Posts: 365
While forwording to jsp,I am setting DetailForm(derived from ActionForm & contains ValueObj ,ValueObj contains different feild related to jsp) in request.
Diplaying jsp is fine,but when I fill data in jsp feild(that is present in DetailForm.valueObj) and click on OK button(that submits form & forword to privous page)form is getting submitted & respective Action getting called but I am not getting modified data in form.valueObj.

(While I tried with putting form in session before forwording to jsp then after click on Ok button Modified data I am getting in form.valueObj)

I am not getting what problem with request attribute.

Please I need your help.

Thanks in advance.


Thanks,
Shailesh
Tom Rispoli
Ranch Hand

Joined: Aug 29, 2008
Posts: 349
Try posting the jsp tag that you are using to create the input field for this value. Also, the html generated by the jsp tag might help as well.
 
Don't get me started about those stupid light bulbs.
 
subject: Form in request.
 
Similar Threads
how to clear request object
java . lang . IllegalArgumentException: No bean specified
The selected checkbox should be checked
Reloading the page data
update record for selection of id