This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Hiding URL

 
Giri Prasad
Ranch Hand
Posts: 56
  • 0
  • 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
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Use post method instead of get.
Vladan
 
Giri Prasad
Ranch Hand
Posts: 56
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Vladan
 
Giri Prasad
Ranch Hand
Posts: 56
  • 0
  • 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
  • 0
  • 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).]
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic