aspose file tools*
The moose likes Struts and the fly likes action path= Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "action path="/Settings*"" Watch "action path="/Settings*"" New topic
Author

action path="/Settings*"

Amirtharaj Chinnaraj
Ranch Hand

Joined: Sep 28, 2006
Posts: 236
hi guys
iam working in a maintenance project i have found that one of my action tag in struts-config.xml contains action tag like



i dont understood at what circumstances we can use this and also give me some explaination how this kind of mappings work

regards
amir
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
What you are seeing is an action mapping "wildcard". The following link explains how to use them.

http://struts.apache.org/1.3.8/userGuide/building_controller.html#action_mapping_wildcards


Merrill
Consultant, Sima Solutions
Amirtharaj Chinnaraj
Ranch Hand

Joined: Sep 28, 2006
Posts: 236
thanks Merrill Higginson

i have gone through the link but iam not able to understand
can any one send me a sample or a link describe more about wildcard actions

looking for your replies
thanks
amir
Vilmantas Baranauskas
Ranch Hand

Joined: Dec 20, 2006
Posts: 89
If you access "/SettingsPhone.do" then success forward path will be "core.settingsPhone".

If you access "/SettingsMobile.do" then success forward path will be "core.settingsMobile".


Author of <a href="http://www.newsinjector.com" target="_blank" rel="nofollow">NewsInjector</a>
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: action path="/Settings*"