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 Alternative URL Pattern for Struts 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 "Alternative URL Pattern for Struts" Watch "Alternative URL Pattern for Struts" New topic
Author

Alternative URL Pattern for Struts

Jayavardhan geepi
Ranch Hand

Joined: Jul 21, 2010
Posts: 66
Hi,
I have been asked a question recently. i.e While using struts(1.x) we will be having url pattern like www.localhost:8080/myApp/abc.do?someparam=somevalue.
So in web.xml we catch it with *.do and map to struts Action.

The question was, how can we use url like(modifying above), www.localhost:8080/myApp/abc/somevalue and get the same Action handle the request along with request parameter value.

Please explain...

Thanks and Regards,
Jay
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Alternative URL Pattern for Struts
 
jQuery in Action, 3rd edition