File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to encode query string.

 
hasan khan
Ranch Hand
Posts: 222
Eclipse IDE Firefox Browser Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i have some links in my jsp page with query string, i want to do some kind of basic encoding to name/value parameter to hide from the end user.

for e.g. i have a link like http://www.mysite.com/abc.do?customerid=1234&orderid=789

(i dont want to use post request)
 
Srinivasa Raghavan
Ranch Hand
Posts: 1228
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I haven't worked much in web technology. But cant you use any hidden textfields and access it in the next page ?
 
Patrick Williams
Ranch Hand
Posts: 213
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Hasan, I think you might be on the wrong forum, but if you are looking at cust id and order id, might I suggest using a cookie (whether it be proprietary or or the implicit JSESSIONID) and using a HttpSession object to control order id's (or a cookie for that as well). Just my .02.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic