Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

REquest parameters question in Struts

 
Ram Gokul
Ranch Hand
Posts: 85
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ram Gokul

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

cheers!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic