Re: My EL not worky



Tom Anderson wrote:
I wrote a JSP using the JSTL 1.1 'c' taglib. If i [sic] put plain strings in the tags' attributes, everything works fine. If i [sic] put EL expressions in them, they're treated like plain strings - not interpreted as expressions.

I reverted to 1.0, and it works fine.

In 1.0, at least in the version i'm [sic] using (the 'el' rather than 'rt' variant), the tags are in charge of interpreting the EL. In 1.1, the container is supposed to do it, AIUI. It seems like it isn't. Is there something i [sic] need to do to switch it on? Some setting in the web.xml or such? I had a quick google, and couldn't see anything (i [sic] couldn't really construct a sensible query about it, though) - i [sic] haven't done anything really drastic like read a manual yet.

I'm using JBoss EAP 4.2, FWIW.

Daniel Pitts wrote:
When you put the EL expression in them, do you enclose it with "${}"?

I have never come across this problem, so I'm only making a (very slightly educated) guess.

Or "#{...}"?

--
Lew
.



Relevant Pages

  • Re: My EL not worky
    ... I wrote a JSP using the JSTL 1.1 'c' taglib. ... If i put plain strings in the tags' attributes, ... If i put EL expressions in them, they're treated like plain strings - not interpreted as expressions. ...
    (comp.lang.java.programmer)
  • Re: My EL not worky
    ... I wrote a JSP using the JSTL 1.1 'c' taglib. ... If i put plain strings in the tags' attributes, ... If i put EL expressions in them, they're treated like plain strings - not interpreted as expressions. ...
    (comp.lang.java.programmer)
  • Re: My EL not worky
    ... Tom Anderson wrote: ... in the tags' attributes, everything works fine. ... If i put EL expressions in them, they're treated like plain strings - not interpreted as expressions. ...
    (comp.lang.java.programmer)
  • Re: Regular Expressions
    ... you'll find some helpful expressions for working with HTML. ... Blog: http://weblogs.asp.net/justin_rogers "Matt Berther" wrote in message ... I'm trying to match the start and end tags of a particular>> HTML tag set and all the text inbetween. ...
    (microsoft.public.dotnet.framework.windowsforms)
  • My EL not worky
    ... I wrote a JSP using the JSTL 1.1 'c' taglib. ... If i put plain strings in the tags' attributes, ... If i put EL expressions in them, they're treated like plain strings - not interpreted as expressions. ...
    (comp.lang.java.programmer)