wood burning stoves 2.0*
The moose likes Struts and the fly likes Problems with DispatchAction 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 "Problems with DispatchAction" Watch "Problems with DispatchAction" New topic

Problems with DispatchAction

Anthony Philips

Joined: Aug 29, 2013
Posts: 3
I'm doing some work with Struts and have decided to use dispatch action to minimize some of my code. I was able to get it to work, but now I'm in the stage of refining the code. I have one action, but I'm using different paths depending on what section of the webapp I'm on. However struts keeps appending to the path.

When I move from the Home Page loyalty.do to the edit page loyalty/points.do It's fine, but when I try to return to the home Page the url becomes /loyalty/loyalty, which doesn't exist.
Furthermore I'm trying to accomplish this, because I would like to use the struts validator framework and I'm assuming that I need to separate the paths so I can test the values at the appropriate pages.
Any help would be welcomed.
I agree. Here's the link: http://aspose.com/file-tools
subject: Problems with DispatchAction
Similar Threads
Displaying Key Specified in Action->Exception tag key within a JSP
Dispatch VS LookupDispatch
how to display action errors in struts tiles
Confirmation after server side validation Struts 1
variable in request in jsp, not in Action ?