views:

188

answers:

2

I want the URL of the below format

http://localhost/users/abc

rather than

http://localhost/users?name=abc

How to achieve this in Struts2?

+2  A: 

You could use the REST Plugin or the convention plugin (see this blog post for more details on the later solution). Other options include servlet filtering or mod_rewrite.

Pascal Thivent
A: 

You can use http://tuckey.org/urlrewrite/.

Adi