Bookmark Topic Watch Topic
  • New Topic

URL encoding

 
anvi kon
Ranch Hand
Posts: 133
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hi ,

I have a URL http://localhost:8080/webapp/summaryservlet?month=2&day=24&year=2010

How would to I encode the above url as below?

http://localhost:8080/webapp/summaryservlet.

I want o hide all the query string.


Is it possible?

Thanks
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65532
108
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Report post to moderator
This has nothing to do with encoding. Use a POST for your form and the parameters will not be placed on the URL, but be placed within the request body.
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Report post to moderator
Please don't post the same question multiple times.

Original thread:

http://www.coderanch.com/t/484129/JSP/java/hide-parameters-url-jsp

Locking this one.
 
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!