Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

URL encoding and decoding  RSS feed

 
omkar patkar
Ranch Hand
Posts: 231
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello friends,

I need your help. Currently in my project i am making use of queryString .... but the query string is very obvious for users to play with like for e.g. " ?empNo=5123&&serviceNo=1204" I want to ENCODE this query String so that users do not understand what goes in the query string. Also on the server end i must be able to DECODE the query String and retrieve the name-value parameters from it. Is there any such facility available in the J2EE API ? I am using Tomcat 4.0, jdk1.4, and Struts. The specification that i am using is JSP 1.3 and Servlet 2.3. Please,...help me!

Million thanks in advance
Omkar Patkar.
[ July 12, 2007: Message edited by: Bear Bibeault ]
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65828
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You are talking about encryption, not encoding. And yes, it's a good idea to encrypt critical values like primary keys.

I've moved this to the Security forum where you are likely to get more responses.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!