On Tue, 30 Jul 2002, David Goodenough wrote: > Using JSTL can I set a param.? value? I can access the values using:- > > <c:out value="${param.Name}" /> > > but if I want to update the value using:- > > <c:set var="param.Name" value="new Value" /> > > subsequent uses of "${param.Name}" seem to have the old value not the > new one. > > Do I need to specify a scope, or should I use the param[ 'Name'] notation > or what? > > Thanks in advance
Per the Servlet specification, you cannot change parameter values. There is no ServletRequest.setParameter() call; the values are intentionally immutable. If you need mutable values, it's probably best to use regular scoped attributes (which you can seed with values from parameters). -- Shawn Bayern "JSTL in Action" http://www.jstlbook.com -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>