This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
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


Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
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
 
It's not a secret anymore!