my dog learned polymorphism*
The moose likes Struts and the fly likes cannot find form Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "cannot find form" Watch "cannot find form" New topic
Author

cannot find form

Pranav Sharma
Ranch Hand

Joined: Oct 27, 2003
Posts: 258
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

Joined: Feb 05, 2003
Posts: 4727

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.


A good workman is known by his tools.
 
Don't get me started about those stupid light bulbs.
 
subject: cannot find form
 
Similar Threads
Cannot find bean in any scope - Problems
Form Bean scope problem
Using html:radio with indexed attribute
Struts with WSAD 5.0 question
form field population done right