File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes struts2: Mapping generic paths? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "struts2: Mapping generic paths?" Watch "struts2: Mapping generic paths?" New topic

struts2: Mapping generic paths?

André-John Mas
Ranch Hand

Joined: Oct 18, 2008
Posts: 37
I am wanting to be able to match a wild case path to an action. For example


The show.jsp would all be the same action, though the 'entity' section could be any random string. How would I do that in struts?

Additionally how would I map a folder to an action. For example:

I agree. Here's the link:
subject: struts2: Mapping generic paths?
It's not a secret anymore!