Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to hide unnecessary junks in the location bar

 
ram mohan
Ranch Hand
Posts: 68
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Folks,
I have a very basic question on form submition.
I am submitting a form to a servlet.
If do it in the browser on the location bar all the textbox, hiddenfiels names and values get displayed.I want to hide this.
(even in javaranch I have seen unnecessary junks are visible in the location bar.How to hide those?)
I think my question is clear enough
Rgds
Ram
 
Bosun Bello
Ranch Hand
Posts: 1511
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The default is doGet if you use the location bar, and doGet requests to a servlet displays the submitted fields/data. if you can, use doPost.
Bosun
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic