wood burning stoves 2.0*
The moose likes Struts and the fly likes use dispatchaction in struts 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 "use dispatchaction in struts" Watch "use dispatchaction in struts" New topic

use dispatchaction in struts

Ashutosh kumar singh

Joined: Feb 27, 2008
Posts: 26
Whenever i am using dispatchaction and call multiple action on multiple button then we can't get form value on action class. this is always showing null value. so any body can help me.
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
The subject heading for this thread is "dispatchaction in struts" but in your post, you talk about using multiple actions? Which is it? Are you using a single DispatchAction with multiple methods, or are you calling different actions? If you're using a DispatchAction, check to make sure that the form bean is defined properly for the action. If you're using multiple actions, they should each be using the same form bean.

Consultant, Sima Solutions
Don't get me started about those stupid light bulbs.
subject: use dispatchaction in struts