wood burning stoves 2.0*
The moose likes HTML, CSS and JavaScript and the fly likes URL issues Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "URL issues " Watch "URL issues " New topic
Author

URL issues

David Avrami
Ranch Hand

Joined: Sep 10, 2011
Posts: 30

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

Joined: Jan 10, 2002
Posts: 60800
    
  65

Use the POST method for your forms.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
Don't get me started about those stupid light bulbs.
 
subject: URL issues
 
Similar Threads
netstat, telnet: TCP/IP connection to localhost 1433 failed
how to redirect servlet to jsp on weblogic
j_security_check and apache httpd ProxyPass
Predefined Struts SwitchAction
Default page for some path