Re: EL expressions not being evaluated..
maya <[email protected]>
| Newsgroups | gmane.comp.jakarta.taglibs.user |
|---|---|
| Message-ID | <[email protected]> |
thank you all very much for your responses.. will have to check everything you guys say tonight at home (off the top of my head, I know I have Tomcat 5.0.27 and, as far as I know, JSP 2.0; Servlet 2.4 specif (this I know for sure, I looked it up when downloaded JSTL..) one of the respondents seemed to be implying you can only use EL with JSTL, I don't suppose I understood right, since I assume it can also be used with custom tags and beans.. again, thank you very much.. -m Rashmi Rubdi wrote: > Behind the scenes JSPs are Servlets . > > I had the same problem as maya is facing and after following the instructions here: http://wiki.apache.org/jakarta-taglibs/FrequentlyAskedQuestions , and making sure that there was no version mismatch between the .tld files and the URIs and getting the correct versions of the JAR files solved the problem. > > -Rashmi > > Andrés Florit <[email protected]> wrote: > Expression Language (EL) is part of the JSP 2.0 specification. If I'm not > wrong it has anything to do with servlets. If you use JSP 1.2 you have to > import the JSTL libraries. I think that Tomcat 5 implemnts JSP 2.0. > Sorry my english. > > Andrés > > > On 9/12/06, Rahul Akolkar wrote: >> On 9/11/06, maya wrote: >>> I can't get my EL expressions to evaluate to what they're supposed to... >>> they print verbatim, in both IE and FF, like for example: >>> >>> Server Name: ${pageContext.request.serverName} >>> Server Port: ${pageContext.request.serverPort} >>> Remote Address: ${pageContext.request.remoteAddr} >>> Remote Host: ${pageContext.request.remoteHost} >>> >>> or this in a bean: >>> >>> Name retrieved from JavaBean has the value of: ${param.name}. >>> >>> anything else I've tried to do w/EL it always prints like this in >>> browser.. why is this.. (running on Tomcat 5, everything pretty >>> standard..) thank you.. >>> >> >> http://wiki.apache.org/jakarta-taglibs/FrequentlyAskedQuestions >> >> -Rahul >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> >> > > > > --------------------------------- > Stay in the know. Pulse on the new Yahoo.com. Check it out.