>>>>> "Henri" == Henri Yandell <[EMAIL PROTECTED]> writes:

    Henri> On 7 Nov 2002, David M. Karr wrote:

    >> Just use different quotes at the other level:
    >> 
    >> <jsp:forward page="somePage.jsp">
    >> <jsp:param name="id" value='<c:out value="${param.id}"/>'/>
    >> </jsp:forward>

    Henri> Nope, not happy. I had:

    Henri> <jsp:forward page='<c:out value="${param.goto}"/>'>
    Henri>   <jsp:param name="id" value='<c:out value="${param.id}"/>'/>
    Henri> </jsp:forward>

    Henri> [which was working as:
    Henri> <c:redirect url="${param.goto}">
    Henri>   <c:param name="id" value="${param.id}"/>
    Henri> </c:redirect>
    Henri> ]

    Henri> and I get an error of:

    Henri> message /<c:out value="${param.goto}"/>
    Henri> description The requested resource (/<c:out value="${param.goto}"/>) is not 
available.

    Henri> So it's not parsing the inside of page attribute for jstl I guess. [I
    Henri> flipped the ' and " just in case. Figured it wouldn't hurt :) ]

Oh.  Duh.

In that case, I guess you either use the scriptlet, do it at the servlet level,
or use Struts-EL (logic-el:forward).  I don't see a clean way to do it
otherwise.

-- 
===================================================================
David M. Karr          ; Java/J2EE/XML/Unix/C++
[EMAIL PROTECTED]   ; SCJP



--
To unsubscribe, e-mail:   <mailto:taglibs-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:taglibs-user-help@;jakarta.apache.org>

Reply via email to