This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Hiding URL

 
Giri Prasad
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am calling a servlet upon http forms submission. The URL that called the servlet is displaying the parameters too. What I have to do if I want to hide them
Thanks
 
Vladan Radovanovic
Ranch Hand
Posts: 216
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Use post method instead of get.
Vladan
 
Giri Prasad
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Vladan
 
Giri Prasad
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
How to hide the whole URL replacing with something fancy? Is it possible to hide the server and the port everything???
Thanks
 
maha anna
Ranch Hand
Posts: 1467
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You may have to use <servlet-mapping> </servlet-mapping> xml tags in .../WEB-INF/web.xml file. There is a <uri-pattern> inside <servlet-mapping> tag for this purpose. A related thread is here.
regds
maha anna
http://www.javaranch.com/ubb/Forum7/HTML/001571.html
[This message has been edited by maha anna (edited April 17, 2001).]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic