Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
vamshi gurudu
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

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



Thanks.
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Thanks i got it.
I have replaced my struts jars with 1.2, now it is working.

Thanks.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic