troubleshooting Question


Avatar of yongsing
yongsing asked on
JavaScriptJSPJava EE
8 Comments1 Solution729 ViewsLast Modified:
I have one JSP page with a hyperlink. The URL for this link is like this:


When the link is clicked, some Struts action class will be called, and two parameters, action and appId, will be passed in. Everything works perfectly fine for us.

Now, this is an HTTP GET. Due to security concern, how do I convert it to an HTTP POST so that the user is not able to see the parmater list on his browser's status bar when his mouse is hovering over the hyperlink?

I'm guessing that the easiest way is to call a JavaScript method when the link is called, and that method will set the parameter values, and then perform a submit.

Also, the backend action class would need to check that only HTTP POST submission is acceptable.

Thankis in advance.
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 8 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 8 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros