aspose file tools*
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 Spring in Action this week in the Spring 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: 368
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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Form in request.