Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

cannot find form

 
Pranav Sharma
Ranch Hand
Posts: 258
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
here is my problem

I bring up data from a database and populate a form. after edidting this data I hit the next link. which goes to another action which persists the data and goes to the next page.
But when i hit the 'next' link i get the following error.




also in the previous action im setting the form as a request attribute. is this causing a problem

thanks
 
Marc Peabody
pie sneak
Sheriff
Posts: 4727
Mac Ruby VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Struts should already be placing the form in scope according the to its name attribute in the ActionMapping. It should not be necessary for you to set it yourself in the Action class.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic