This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Struts and the fly likes REquest parameters question in Struts Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "REquest parameters question in Struts" Watch "REquest parameters question in Struts" New topic

REquest parameters question in Struts

Ram Gokul
Ranch Hand

Joined: Oct 07, 2005
Posts: 85
Till now , I had a html:form which posts parameters to Action class A whose success forwarding is success.jsp .

This works fine and parameters I post do no appear in browser URL and success.jsp is called.The URL in Browser is

Now , from Action class A I call another Action class B , and Action class B calls success.jsp . This is due to some security constraints I have . Success.jsp appears successfully , but the URL is now changed to

1. why does the parameter appear in the second case and not the first case .
2. How can i hide the parameters from URL because it contains the User password ?

In both the cases , I execute mapping.findforward(success) .
Can someone explain ?

mohit bahl
Ranch Hand

Joined: Mar 22, 2006
Posts: 48
Hi Ram Gokul

Please give details of how you are calling the Action class B from A


to err is human, but the company policy doesn't allow it!
I agree. Here's the link:
subject: REquest parameters question in Struts
Similar Threads
Applets loading local classes?
Action Chaning & action Form reset problem
Security constaint in J2ee 1.3 container - Web.xml
how to bypass url parameters?
virtaul hosting in weblogic