This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Struts and the fly likes Can we give * in action path of struts-config.xml (struts 1.2) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Can we give * in action path of struts-config.xml (struts 1.2)" Watch "Can we give * in action path of struts-config.xml (struts 1.2)" New topic
Author

Can we give * in action path of struts-config.xml (struts 1.2)

vamshi gurudu
Greenhorn

Joined: Sep 23, 2008
Posts: 21
Hi All,

I am using struts 1.2, Can we give * in action path for example



Thanks.
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

The documentation is your friend.

Reading it is almost invariably faster than waiting for someone to answer your questions.

http://struts.apache.org/1.2.9/userGuide/building_controller.html#action_mapping_wildcards
vamshi gurudu
Greenhorn

Joined: Sep 23, 2008
Posts: 21
Hi Thanks for reply.

But when i am using action path like below it shows Invalid path /filesearch was requested



My link is filesearch.do when clicking on this link it shows Invalid path /filesearch was requested.

com.abc.SimpleAction will always send success.

Thanks.
vamshi gurudu
Greenhorn

Joined: Sep 23, 2008
Posts: 21
Hi Thanks i got it.
I have replaced my struts jars with 1.2, now it is working.

Thanks.
 
 
subject: Can we give * in action path of struts-config.xml (struts 1.2)
 
Similar Threads
Auto Validation enable/disable For Specific Events?
action path="/Settings*"
Question regarding forward tag
how to call a specific action
Struts2 and Spring integration