It's not a secret anymore!
The moose likes Struts and the fly likes Nice URLs Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Nice URLs" Watch "Nice URLs" New topic

Nice URLs

Andy Hahn
Ranch Hand

Joined: Aug 31, 2004
Posts: 225
I am a Struts developer and am used to using Struts urls such as I know I can use apache mod-rewrite to make nice or RESTful URLs such as or Is there a way to parse or manip URLS using servlets. If so I can then look into wiring up a custom Struts Request Processor. Thanks
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63858

Not Struts-specific, but look into "path info" on the request.

[Asking smart questions] [About Bear] [Books by Bear]
Joe Ess

Joined: Oct 29, 2001
Posts: 9189

A wild guess: Struts 2 REST Plugin

[How To Ask Questions On JavaRanch]
Andy Hahn
Ranch Hand

Joined: Aug 31, 2004
Posts: 225
I found and am now using This is way cool. I could alternatively use apache mod-rewrite but is probably overkill for what I am doing. This is a very cool tool.

I agree. Here's the link:
subject: Nice URLs
It's not a secret anymore!