The answer is: use request attributes for that. Request params are immutable by Servlet specification and you should use request attributes for such things. Change your XSP page to use attributes and everything will be fine.
There is another - in my opinion a hacky way - of passing params: you can just create a new request object and replace the original request by it. I'm not sure that it can be implemented inside of an action, but it's a possible way. Regards, Konstantin Piroumian ----- Original Message ----- From: "Kenneth Petersen" <[EMAIL PROTECTED]> To: "users" <[EMAIL PROTECTED]> Sent: Thursday, October 04, 2001 7:16 PM Subject: Action - modify / add parameter to Reguest > I am trying to run the Action example from the Cocoon 2 website. My problem is that the action class in the example add's an Attribute named "hello" to the request, but the XSP-servlet uses a Parameter named "hello". This of cause results in the XSP-servlet getting and using the value null. > > I have tried to figure out how to add a Parameter to the request instead of a Attribute, but have had no luck so far. Does anyone know how to do this? Alternativly I would like to know how to use an Action to pass parameters/variables/values to the xsp-page. > > Regards > KP > > Versions used: > Tomcat 4.0 beta 7 > JDK 1.4 beta 2 > Cocoon 2 beta 2 > > --------------------------------------------------------------------- > Please check that your question has not already been answered in the > FAQ before posting. <http://xml.apache.org/cocoon/faqs.html> > > To unsubscribe, e-mail: <[EMAIL PROTECTED]> > For additional commands, e-mail: <[EMAIL PROTECTED]> > --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faqs.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>