This is exactly the behavior I need:
<c:import url="${requestScope.action}" />
but the above code shows me the same error. The taglib doesn't accept
expressions in url value.
I am new in JSTL, but I got all libs instaled. How can these RT and RL
help me?
Thanks!
----- Original Message -----
From: "Michael Jouravlev" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <user@struts.apache.org>
Sent: Tuesday, March 07, 2006 4:22 PM
Subject: Re: Template action include
On 3/7/06, Marcio Ghiraldelli <[EMAIL PROTECTED]> wrote:
<c:import> worked ok, it keep the request values and integrate ok the
output, but:
<c:import url="<%=request.getParameter("action")%>" />
"According to TLD, the attribute URL canĀ“t accept any expression"
You can copy request parameter to request attribute (say, to "action")
and then use
<c:import url="${requestScope.action}" /> Looks stupid but should work.
Or you may try using JSTL-RT instead of JSTL-EL (do you use JSTL 1.0
from separate library?) But I don't know can you use both flavors in
the same application.
Michael.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]