File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes action question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "action question " Watch "action question " New topic
Author

action question

Alvin chew
Ranch Hand

Joined: Jan 08, 2004
Posts: 834
hi, is it possible we can have different action path but action type(action class) is only one which use to handle all form and assume all form have same forward name and path ..thank you !
Marc Peabody
pie sneak
Sheriff

Joined: Feb 05, 2003
Posts: 4727

ActionMappings can use any Action class and any ActionForm.
Duplicates are allowed.

You may have all mappings use the same Action with different ActionForms.
You may have all mappings use the same ActionForm with different Actions.

You may even have all mappings use the same Action AND ActionForm (but would have no practical use unless perhaps the forwards were different).

Hope this answers your question.


A good workman is known by his tools.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: action question