How to rewrite url in struts2?

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

How to rewrite url in struts2?

Mohiit
I want to rewrite url in a Struts2 application. I dont have any idea how to do that.
Plz suggest proper solution for this.
Reply | Threaded
Open this post in threaded view
|

Re: How to rewrite url in struts2?

PYRAMESH
Hi,

I am also having the same problem.(url rewriter in struts2).

If you solved could you explain me how you solved.

My problem is if u type
http://localhost:8080/MyApp/secured/readAction.action?authorName=khatesera&bookId=001

so it will open the book related to that author khatesera.

After that If I enter

http://localhost:8080/MyApp/khatesera

then I need to open that appropriete book(redirect).

could please help me this.

Thanks in Advance
Reply | Threaded
Open this post in threaded view
|

Re: How to rewrite url in struts2?

adamruggles
In reply to this post by Mohiit
This link might help point you in the right direction

http://www.blueskyminds.com.au/url-hierarchy/