Reply To: Request isn't Redirecting

Splash Forums Rewrite Users Request isn't Redirecting Reply To: Request isn't Redirecting

#25659

rahulsoni
Participant

Thanx Christain Sir,

I don’t get the last point , why we have to add the context path to our link ?????

When I tried <a href="/clickme"> Tutorial </a> with URL-Rewrite: .addRule(Join.path("/clickme").to("/My_home.jsp"))
It never worked.

But when I tried <a href="/My_App/clickme"> Tutorial </a> with same URL-Rewrite, it WORKED.
HOW??

And when I put my APP name in the URL it gets appended to the localhost (as I’m deploying it locally now).
So when I’ll deploy my app on the web,
my APP’s name will always be appended to the domain name like:
www.mywebsite.com/My_App/...... Is it so ??????

If yes, then How can I get rid of my APP name after my Domain name ????