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 path= Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Reply Bookmark "action path="/Settings*"" Watch "action path="/Settings*"" New topic
Author

action path="/Settings*"

Amirtharaj Chinnaraj
Ranch Hand

Joined: Sep 28, 2006
Posts: 215
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: 215
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>
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: action path="/Settings*"
 
Similar Threads
Getting the Parser Error struts
Struts JSP/ActionForm error
By passing forward in action tag.
How to use Formbean's validate method?
Getting org.xml.sax.SAXParseException