On 8/24/05, Seva Popov <[EMAIL PROTECTED]> wrote:
> Hi,
> 
> 
> The following line:
> 
>     <c:set var="admin" value="<%=request.getParameter("admin")%>"/>
> 
> gives me the below exception under Tomcat 5.5.9:
> 
> org.apache.jasper.JasperException: /test.jsp(11,29) The value of
> attribute "value" associated with an element type "c:set" must not
> contain the '<' character.
> 
> Is this a bug in Tomcat or am I missing something?
> (I did not have any problems using the above syntax in Resin.)

Not sure what the prefix c is bound to, but I'd use JSTL 1.1 with TC
5.5.x and use EL and the implicit JSP 2.0 param object like so:

<c:set var="admin" value="${param.admin}" />

-Rahul

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to