This week's book giveaway is in the OCAJP forum.
We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen on-line!
See this thread for details.
Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

URL issues

 
David Avrami
Ranch Hand
Posts: 30
C++ Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
i am using servlets in my project and my url's keep adding information.
if i had a url :
http://localhost/WebProject2/Admin

after some interaction with the page and submitting some form it reloads the page with new data but url now is:
http://localhost/WebProject2/Admin?Combobox1=updateNavBar&Combobox2=choose&Combobox3=choose&Editbox1=&Editbox2=

can i remove all the GREEN text from the url?
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65114
89
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Use the POST method for your forms.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic