File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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
It's not a secret anymore!