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 parameter Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "action parameter" Watch "action parameter" New topic
Author

action parameter

jibs parap
Ranch Hand

Joined: Dec 07, 2004
Posts: 134
Im new to struts.

- Whats the use of parameter inside <action> tag in struts-config file?
- I noticed for eg. 'parameter="spell{1}.page">' inside <action> tag. What does 'spell{1}.page'mean?

Thanks in advance
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
The most common use for the parameter attribute is an Action class that extends DispatchAction to determine which method to call.

See this link for information about Action Mapping wildcards.
[ September 19, 2007: Message edited by: Merrill Higginson ]

Merrill
Consultant, Sima Solutions
jibs parap
Ranch Hand

Joined: Dec 07, 2004
Posts: 134
Thanks very much.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: action parameter