This week's book giveaway is in the JavaFX forum.
We're giving away four copies of Introducing JavaFX 8 Programming and have Herbert Schildt on-line!
See this thread for details.
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 Introducing JavaFX 8 Programming this week in the JavaFX 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!