Hi, thanks for your answer, now we have solved the problem. We are using our own class (ActionForwardWithParameter) which is extended from ActionForward. Our class gets the original ActionForward as a parameter and then (with some tricks) we use our own method to add a parameter. The return value of the execute() method is our own ActionForwardWithParameter.
ciao Oliver. -----Urspr�ngliche Nachricht----- Von: Nicolas De Loof [mailto:[EMAIL PROTECTED]] Gesendet: Donnerstag, 16. Januar 2003 11:26 An: Struts Users Mailing List; [EMAIL PROTECTED] Betreff: Re: How to set a parameter in an action Servlet API doesn't allow you to write request attributes (parameters, headers...) You can try to forward to a new ActionForward object, build with the mapping to your "another" action, adding needed parameter with GET syntax : ... return new ActionForward( NEXT_ACTION_URL + "?param=" + paramValue ); (I'm not sure it will work...) Another solution is to put param value in request and forward to a JSP that will redirect browser to the NEXT_ACTION_URL with param added : # in your action: request.setAttribute("param", paramValue); return new ActionForward( "redirect.jsp" ); # redirect.jsp : <form action="NEXT_ACTION_URL" method="POST"> <input type="hidden" value="<% request.getAttribute("param") %>"> </form> <script> document.forms[0].submit(); </script> Nico. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

