It's not a secret anymore!*
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
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "use dispatchaction in struts" Watch "use dispatchaction in struts" New topic
Author

use dispatchaction in struts

Ashutosh kumar singh
Greenhorn

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.


Merrill
Consultant, Sima Solutions
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: use dispatchaction in struts
 
Similar Threads
Quick question regarding parameters in struts-config.xml
Different INPUT.jsp in DispatchAction
How does ActionAervlet find the action class ?
example for ImageButtonBean using DispatchAction class
Is Multiple Actions in Action class