Logo 
Search:

Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

Passing Form Params In Struts

  Asked By: Ryan    Date: Jun 15    Category: Java    Views: 986
  

Does anybody know how to pass form params between 2 JSP psges when using
Struts.We used following soloution but it's not a good way :


ActionForward af = new ActionForward();
af.setPath(..../../form1.jsp?param1 = value1& param2 = value2......);
af.setRedirect(true);

Share: 

 

1 Answer Found

 
Answer #1    Answered By: Calandre Bernard     Answered On: Jun 15

you can use , hidden properties in your first jsp
then in your action putting your form  in request
and use it in second page.

 
Didn't find what you were looking for? Find more on Passing Form Params In Struts Or get search suggestion and latest updates.




Tagged: