Logo 
Search:

Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

I need to hide the URL parameters I am using within JSPs

  Asked By: Mali    Date: Jun 14    Category: Java    Views: 4610
  

I am a J2EE developer who is using Servlets and JSPs in my project.

I need to get a method (Client Side using Java Script) or whatever
method as to hide or mask the parameters that I am using within pages.

I am sending a database primary key via these url parameters and need
to find a proper Java script code to hide(mask) these parameters.

My problem is when a nagging user messes with these parameters, the
server will fire an exception objecting for missing paramter values.

Share: 

 

1 Answer Found

 
Answer #1    Answered By: Jeanne Lawson     Answered On: Jun 14

If you use only POST method, instead of GET, you'll hide  the arguments.
But you'll need to forbid the GET calls to prevent users from typing the
URL themselves.

 
Didn't find what you were looking for? Find more on I need to hide the URL parameters I am using within JSPs Or get search suggestion and latest updates.




Tagged: