Re: Please help: Struts tags don't evaluate any expressions

2007-03-25 Thread Vijay Venkataraman
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

Re: Please help: Struts tags don't evaluate any expressions

2007-03-20 Thread irene
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

Please help: Struts tags don't evaluate any expressions

2007-03-16 Thread irene
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

Re: Please help: Struts tags don't evaluate any expressions

2007-03-16 Thread Ed Griebel
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

Re: Please help: Struts tags don't evaluate any expressions

2007-03-16 Thread Laurie Harper
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