Irene,
Quick question, why can't you move to Servlet 2.4 since you are working
with Tomcat 5.
There are lot of good things that come with JSP 2.0 which can be applied
that will make developers more productive.
When i joined my project it was on Tomcat 5 and Struts 1.2.4. but on JSP
1.2. I just converted the whole project to use Servlet 2.4 so it will be
JSP 2.0 in just two days (Saturday and Sunday).
Thanks,
Vijay Venkataraman
irene wrote:
Hi Laurie,
It works! i'm not using servlet 2.4 specification.
Now it works (but i have to change the taglib declaration to <%@ taglib
uri="http://java.sun.com/jstl/core_rt" prefix="c" %>)
Thanks a lot, I wanted to avoid the use of scriptlets.
Laurie Harper wrote:
You probably *don't* want the -el taglibs on Tomcat 5. You will need to
make sure your web.xml uses the Servlet 2.4 style namespace declaration,
though, to get EL working.
For scriptlets, your problem is invalid syntax. An attribute value can
be either plain text, or an RT expression. You can't mix the two forms.
Try this instead:
<html:text property="<%='num_linea['+i+']%>" />
But I'd strongly suggest getting EL working and avoiding RT expressions
and scriptlets altogether.
L.
Ed Griebel wrote:
I've done EL expressions like you want to do. Try using the -el
version of the html tag:
<html-el:text property="num_linea[${i}]"/>
On 3/16/07, irene <[EMAIL PROTECTED]> wrote:
Hi,
I have a problem with Struts tags.
I can't use any expression (EL, runtime) in the tag attributes :
<html:text property="num_linea[${i}]" />
<html:text property="num_linea[<%=i%>]" />
The result is an error: Invalid argument looking up property:
"num_linea[<%=i%>]"
I suppose i have something wrong in my webapp configuration...
I use tomcat 5, struts 1.2.9
Please help!!!
--
View this message in context:
http://www.nabble.com/Please-help%3A-Struts-tags-don%27t-evaluate-any-expressions-tf3413607.html#a9511739
Sent from the Struts - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
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]