This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Soft Skills and have John Sonmez 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 Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "REquest parameters question in Struts" Watch "REquest parameters question in Struts" New topic
Author

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 http://myurl.com/ActionA.do.

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 http://myurl.com/ActionB?parameters_list_with_values.

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 ?

Thanks
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

cheers!


to err is human, but the company policy doesn't allow it!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: REquest parameters question in Struts