• Post Reply Bookmark Topic Watch Topic
  • New Topic

Rewriting URL ?  RSS feed

 
Olexiy Prokhorenko
Ranch Hand
Posts: 97
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi there,


I am a bit stuck with the following question.
In simple worss - for example, when user is requesting http://somewhere.net/zzz he can see this link in URL address of his browser. My servlet/filter mapped to this zzz, and it provides it's own response. I want URL address in client browser's to change to for example http://somewhere.net/zzz.html
Any ideas? Where can I find some hint at least? :-)
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why not create a zzz.html mapping?
 
Makarand Parab
Ranch Hand
Posts: 121
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
Change the mapping name for servlet [Taken into consideration that ur firing the servlet with filter mapped to it] in the Web.xml to zzz.html inorder to trick the user.

Let me know if you are still facing the problem

Regards
Makarand Parab
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!