RE: JSP 2.0 and JSTL EL

2007-05-01 Thread Dick Weisinger
Yes. After downloading those files, it seems to be working for me now. Thanks! -Original Message- From: Rashmi Rubdi [mailto:[EMAIL PROTECTED] Sent: Monday, April 30, 2007 6:06 PM To: Tag Libraries Users List Subject: Re: JSP 2.0 and JSTL EL So it appears that the standard.jar you have

JSP 2.0 and JSTL EL

2007-04-30 Thread Dick Weisinger
I have a Spring-based Application that was successfully running under Tomcat 5.5. I've attempted to move it to JBoss 4.0.5, but it's having problems using the JSP Expression Language (EL). I made sure that I have the most recent JSTL 1.1 jstl.jar and standard.jar files. In the web.xml

Re: JSP 2.0 and JSTL EL

2007-04-30 Thread Rashmi Rubdi
Dick, What Servlet and JSP specification version is JBoss 4.0.5 based on? The compatibility chart for EL and web.xml I've known from experience is: - JSTL 1.2 works

RE: JSP 2.0 and JSTL EL

2007-04-30 Thread Dick Weisinger
List Subject: Re: JSP 2.0 and JSTL EL Dick, What Servlet and JSP specification version is JBoss 4.0.5 based on? The compatibility chart for EL and web.xml I've known from experience

Re: JSP 2.0 and JSTL EL

2007-04-30 Thread Rashmi Rubdi
The standard.jar file I have is for JSTL 1.1.2 , and it contains this class org.apache.taglibs.standard.lang.support.ExpressionEvaluatorManager within it. Dick Weisinger [EMAIL PROTECTED] wrote: But it continues to have a problem. Spring says that it found the JSP 2.0 ExpressionEvaluator, but

Re: JSP 2.0 and JSTL EL

2007-04-30 Thread Rashmi Rubdi
So it appears that the standard.jar you have may be either corrupt or doesn't have the class file. Just to make it easier, the JSTL 1.1.2 zip was obtained from here: http://jakarta.apache.org/site/downloads/downloads_taglibs-standard.cgi Within the jstl.jar and standard.jar are within the zip,

Re: EL expressions not being evaluated..

2006-09-13 Thread maya
wrote: Set up a fresh install of the latest Tomcat on the side with the correct web.xml entry, and put a test jsp page in it with a simple EL expression and see if it evaluates. I have apache-tomcat-5.5.12 and a different set of jar files under apache-tomcat-5.5.12\common\lib

Re: EL expressions not being evaluated..

2006-09-13 Thread Kris Schneider
in it with a simple EL expression and see if it evaluates. I have apache-tomcat-5.5.12 and a different set of jar files under apache-tomcat-5.5.12\common\lib : commons-el.jar jasper-compiler-jdt.jar jasper-compiler.jar jasper-runtime.jar jsp-api.jar jstl.jar naming-factory-dbcp.jar naming

Re: EL expressions not being evaluated..

2006-09-13 Thread maya
: Set up a fresh install of the latest Tomcat on the side with the correct web.xml entry, and put a test jsp page in it with a simple EL expression and see if it evaluates. I have apache-tomcat-5.5.12 and a different set of jar files under apache-tomcat-5.5.12\common\lib : commons

Re: EL expressions not being evaluated..

2006-09-12 Thread Andrés Florit
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 [EMAIL PROTECTED] wrote

Re: EL expressions not being evaluated..

2006-09-12 Thread Rashmi Rubdi
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

Re: EL expressions not being evaluated..

2006-09-12 Thread maya
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

Re: EL expressions not being evaluated..

2006-09-12 Thread Andrés Florit
With JSP 2.0 you can use EL in all the page because it is part of the specification. Whit JSP 1.2 you can only use it with JSTL tags and customs tags (this last one I'm not very sure). EL is evaluated before the JSP is converted to a servlet, so I don't think you can use it in a servlet. Here's

Re: EL expressions not being evaluated..

2006-09-12 Thread maya
-common.jar (JNDI Context implementation) * naming-factory.jar (JNDI object factories for J2EE ENC support) * naming-resources.jar (JNDI DirContext implementations) * servlet-api.jar (Servlet 2.4 API) this means my EL expressions should evaluate, right? thank you again.. Andrés Florit wrote

Re: EL expressions not being evaluated..

2006-09-12 Thread Kris Schneider
) * naming-common.jar (JNDI Context implementation) * naming-factory.jar (JNDI object factories for J2EE ENC support) * naming-resources.jar (JNDI DirContext implementations) * servlet-api.jar (Servlet 2.4 API) this means my EL expressions should evaluate, right? Don't worry about that stuff

Re: EL expressions not being evaluated..

2006-09-12 Thread maya
2.0 Expression Language) * naming-common.jar (JNDI Context implementation) * naming-factory.jar (JNDI object factories for J2EE ENC support) * naming-resources.jar (JNDI DirContext implementations) * servlet-api.jar (Servlet 2.4 API) this means my EL expressions should evaluate, right? Don't

Re: EL expressions not being evaluated..

2006-09-12 Thread Rashmi Rubdi
Set up a fresh install of the latest Tomcat on the side with the correct web.xml entry, and put a test jsp page in it with a simple EL expression and see if it evaluates. I have apache-tomcat-5.5.12 and a different set of jar files under apache-tomcat-5.5.12\common\lib

EL expressions not being evaluated..

2006-09-11 Thread maya
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

Re: EL expressions not being evaluated..

2006-09-11 Thread chuanjiang lo
i think it is the servlet specifications if i am not wrong servlet 2.3 specifications does not evaluate the EL expressions.. On 9/12/06, maya [EMAIL PROTECTED] 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

Re: EL expressions not being evaluated..

2006-09-11 Thread Rahul Akolkar
On 9/11/06, maya [EMAIL PROTECTED] 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

Mixing EL and Java expressions

2006-03-22 Thread Tarek Nabil
%} By Service /c:when c:when test=${param.display == %= MainPageAction.DISPLAY_BY_BU %} By BU /c:when /c:choose That didn't even compile, so I learned my first lesson: I can not use Java expression inside EL expressions. So, I tried this c:set var

Re: Mixing EL and Java expressions

2006-03-22 Thread Luca Passani
== %= MainPageAction.DISPLAY_BY_SERVICE %} By Service /c:when c:when test=${param.display == %= MainPageAction.DISPLAY_BY_BU %} By BU /c:when /c:choose That didn't even compile, so I learned my first lesson: I can not use Java expression inside EL expressions. So, I tried

RE: Mixing EL and Java expressions

2006-03-22 Thread Tarek Nabil
manager, but we'll see :) Thanks again :) -Original Message- From: Luca Passani [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 22, 2006 2:23 PM To: Tag Libraries Users List Subject: Re: Mixing EL and Java expressions Since Martin Cooper is probably still sleeping in his time zone, here

AW: JSTL-EL question (instanceOf)

2006-03-17 Thread Eickvonder Bjoern
Try c:if test=${item.class.name == 'MySpecialClass')} that should work, or? Bjoern -Ursprüngliche Nachricht- Von: Luca Passani [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 17. März 2006 00:39 An: Tag Libraries Users List Betreff: JSTL-EL question (instanceOf) Hi here is my

Re: JSTL-EL question (instanceOf)

2006-03-16 Thread Martin Cooper
On 3/16/06, Luca Passani [EMAIL PROTECTED] wrote: Martin Cooper wrote: Not with just EL, but see: http://jakarta.apache.org/taglibs/sandbox/doc/unstandard-doc/index.html#instanceOf that seems powerful. Thanks. Is there an example of usage somewhere? how do I combine

Newbie Question: EL in attributes for a custom tag not being evaluated??

2005-01-04 Thread Robert Simmons Jr.
Greetings; I have a tag that I created to allow integration with my back end. I am using the Jakarta astandard taglibs extensively in the application but I am a bit of a taglib newbie and I have a problem. Namely when I use EL expressions in my tag attributes, they get passed verbatim

Re: Newbie Question: EL in attributes for a custom tag not being evaluated??

2005-01-04 Thread Keshav Shetty
I concluded that your EL are not evaluated. I think you have to use %@ page isELIgnored=false% in your jsp. I hope this will solve your problem. You can also refer to http://forum.java.sun.com/thread.jspa?threadID=573209messageID=2848229 Let me know the result. Best regards Keshav Shetty Robert

Re: Newbie Question: EL in attributes for a custom tag not being evaluated??

2005-01-04 Thread Robert Simmons Jr.
strange thing is that it evaluates the EL in the JSTL tags such as c:out Keshav Shetty wrote: I concluded that your EL are not evaluated. I think you have to use %@ page isELIgnored=false% in your jsp. I hope this will solve your problem. You can also refer to http://forum.java.sun.com/thread.jspa

Re: Newbie Question: EL in attributes for a custom tag not being evaluated??

2005-01-04 Thread Robert Simmons Jr.
That just made my EL expressions in my JSTL tags explode ... if I put in that directive then I get the following result: org.apache.jasper.JasperException: /JSPs/AdminSubscriptions.jsp(22,1) According to TLD or attribute directive in tag file, attribute test does not accept any expressions

Re: Newbie Question: EL in attributes for a custom tag not being evaluated??

2005-01-04 Thread Robert Simmons Jr.
/cs:subscriptionInfo This appears to work. *shrug* I keep thinking that there is something Im missing in my tag implementation. -- Robert Keshav Shetty wrote: Although I couldn't find the actual reason to your problem, But I have a workaround. Instead of EL use direct JSP expression

Re: Newbie Question: EL in attributes for a custom tag not being evaluated??

2005-01-04 Thread Kris Schneider
). Quoting Robert Simmons Jr. [EMAIL PROTECTED]: Greetings; I have a tag that I created to allow integration with my back end. I am using the Jakarta astandard taglibs extensively in the application but I am a bit of a taglib newbie and I have a problem. Namely when I use EL expressions

AW: Newbie Question: EL in attributes for a custom tag not being evaluated??

2005-01-04 Thread Olaf Bergner
I'll second to that. According to the spec, EL evaluation is turned on by default only if the web deployment descriptor is version 2.4 or higher. In this case, EL expressions are evaluated by the servlet container, _not_ the JSP tag. Presumably, you are using a JSTL version that delegates

Re: AW: Newbie Question: EL in attributes for a custom tag not being evaluated??

2005-01-04 Thread Robert Simmons Jr.
-fileindex.html/welcome-file welcome-fileindex.jsp/welcome-file welcome-fileindex.jws/welcome-file /welcome-file-list /web-app Thanks -- Robert Olaf Bergner wrote: I'll second to that. According to the spec, EL evaluation is turned on by default only if the web deployment descriptor

AW: AW: Newbie Question: EL in attributes for a custom tag not being evaluated??

2005-01-04 Thread Olaf Bergner
; xsi:schemaLocation=http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd; which will put the burden of evaluating EL expressions on the servlet container. You might have to switch to the most recent version of the JSTL afterwards, since it seems as if your current

Re: AW: Newbie Question: EL in attributes for a custom tag not being evaluated??

2005-01-04 Thread Kris Schneider
welcome-fileindex.html/welcome-file welcome-fileindex.jsp/welcome-file welcome-fileindex.jws/welcome-file /welcome-file-list /web-app Thanks -- Robert Olaf Bergner wrote: I'll second to that. According to the spec, EL evaluation is turned on by default only

Re: AW: AW: Newbie Question: EL in attributes for a custom tag not being evaluated??

2005-01-04 Thread Robert Simmons Jr.
://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd; which will put the burden of evaluating EL expressions on the servlet container. You might have to switch to the most recent version of the JSTL afterwards, since it seems as if your current version handles EL evaluation on itself. (2) Keep version 2.3

Re: AW: AW: Newbie Question: EL in attributes for a custom tag not being evaluated??

2005-01-04 Thread Robert Simmons Jr.
; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd; which will put the burden of evaluating EL expressions on the servlet container. You might have to switch to the most recent version

Re: AW: AW: Newbie Question: EL in attributes for a custom tag not being evaluated??

2005-01-04 Thread Hassan Schroeder
Robert Simmons Jr. wrote: I changed the web.xml as you suggested but now the JSTL tags blow so I obviously need a version of the JSTL that works with 2.4. Which Jakarta taglibs version works with that ? http://jakarta.apache.org/taglibs/index.html On the left menu you'll see JCP Standardized

AW: AW: AW: Newbie Question: EL in attributes for a custom tag not being evaluated??

2005-01-04 Thread Olaf Bergner
Standard v. 1.0.6, for instance) offer two alternative TLDs, one for operating in an EL enabled environment, one for operating in an environment where EL expression evaluation is handled by the tags themselves. What I would do is erase jstl.jar, standard.jar and corresponding TLDs from your WEB-INF

AW: [datagrid] Cannot use EL in attribute items

2004-12-30 Thread Olaf Bergner
Hi Néstor, Thanks for your efforts. That would be great. Regards, Olaf -Ursprüngliche Nachricht- Von: Néstor Boscán [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 30. Dezember 2004 01:05 An: [EMAIL PROTECTED]; taglibs-user@jakarta.apache.org Betreff: RV: [datagrid] Cannot use EL

[datagrid] Cannot use EL in attribute items

2004-12-29 Thread Olaf Bergner
'organizationSearchForm', i.e. the following struts tag logic:iterate name=organizationSearchForm property=filteredOrganizations .../logic:iterate works. My first problem was JBoss complaining that according to the TLD the attribute 'items' does not accept an EL expression, so that compilation failed. I modified

RV: [datagrid] Cannot use EL in attribute items

2004-12-29 Thread Néstor Boscán
-Mensaje original- De: Néstor Boscán [mailto:[EMAIL PROTECTED] Enviado el: Miércoles, 29 de Diciembre de 2004 07:59 p.m. Para: 'Tag Libraries Users List'; '[EMAIL PROTECTED]' Asunto: RE: [datagrid] Cannot use EL in attribute items Hi Olaf You're doing everything right. The problem

EL expression not evaluating

2004-09-06 Thread clunkyrobot
Hi - I am building a blog in the JSP and JSTL and EL and Tomcat and MySQL. So far I have installed Tomcat 5, with MySQL 4.x.x, and the Jakarta Core Tags version 2, all seems to be functioning. I am using Intellij IDEA 4.5 as my IDE. Now all seems to be running fine, no errors, Intellij IDEA

Re: EL expression not evaluating

2004-09-06 Thread Dima Gutzeit
://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd; Hope it helps. - Original Message - From: clunkyrobot [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, September 06, 2004 16:32 Subject: EL expression not evaluating Hi - I am building a blog in the JSP and JSTL and EL and Tomcat and MySQL

Re: EL expression not evaluating

2004-09-06 Thread clunkyrobot
; xsi:schemaLocation=http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd; Hope it helps. - Original Message - From: clunkyrobot [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, September 06, 2004 16:32 Subject: EL expression not evaluating Hi - I am

RE: EL expression not evaluating

2004-09-06 Thread Allistair Crossley
Message- From: clunkyrobot [mailto:[EMAIL PROTECTED] Sent: 06 September 2004 15:39 To: Tag Libraries Users List Subject: Re: EL expression not evaluating This is my web.xml ?xml version=1.0 encoding=UTF-8? !DOCTYPE web-app PUBLIC -//Sun Microsystems

RE: EL expression not evaluating

2004-09-06 Thread Allistair Crossley
PROTECTED] Sent: 06 September 2004 15:39 To: Tag Libraries Users List Subject: Re: EL expression not evaluating This is my web.xml ?xml version=1.0 encoding=UTF-8? !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN http

Re: EL expression not evaluating

2004-09-06 Thread Dima Gutzeit
PROTECTED] Sent: Monday, September 06, 2004 17:39 Subject: Re: EL expression not evaluating This is my web.xml ?xml version=1.0 encoding=UTF-8? !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN http://java.sun.com/dtd/web-app_2_3

Re: EL expression not evaluating -SOLVED

2004-09-06 Thread clunkyrobot
Thank you so much That did it calling sun URI rather then my local in combination with the updated web.xml - thanks heaps, thank you, Question -- Intelij IDEA marks version=2.4 in RED as not not valid ?? is this just Intelij IDEA being silly? -Kurt

Dynamic Expressions for Struts-EL and JSTL

2004-09-02 Thread Asleson, Ryan
Hello, I'm using the Struts-EL and JSTL custom tag implementations in my Web app. I want to use the c:out tag to output dynamic data. The tricky part is I want to dynamically build the EL expression at runtime by building up a String that should be evaluated. I don't want to output the String

Re: Dynamic Expressions for Struts-EL and JSTL

2004-09-02 Thread Helios Alonso
(); to this: formBean[pageContext.layoutObject.property] (If I understood you have a layoutObject with a property saying which property read from formBean). At 08:37 02/09/2004 -0500, you wrote: Hello, I'm using the Struts-EL and JSTL custom tag implementations in my Web app. I want to use the c:out

RE: Dynamic Expressions for Struts-EL and JSTL

2004-09-02 Thread Asleson, Ryan
Expressions for Struts-EL and JSTL So, you could change this: String expr = formBean. + ((app.LayoutObject)pageContext.getAttribute(layoutObject)).getProperty(); to this: formBean[pageContext.layoutObject.property] (If I understood you have a layoutObject with a property saying which property

RE: Dynamic Expressions for Struts-EL and JSTL

2004-09-02 Thread Helios Alonso
: Helios Alonso [mailto:[EMAIL PROTECTED] Sent: Thursday, September 02, 2004 9:48 AM To: Tag Libraries Users List Subject: Re: Dynamic Expressions for Struts-EL and JSTL So, you could change this: String expr = formBean. + ((app.LayoutObject)pageContext.getAttribute(layoutObject)).getProperty

RE: Dynamic Expressions for Struts-EL and JSTL

2004-09-02 Thread Asleson, Ryan
. -Original Message- From: Karr, David [mailto:[EMAIL PROTECTED] Sent: Thursday, September 02, 2004 11:09 AM To: Tag Libraries Users List Subject: RE: Dynamic Expressions for Struts-EL and JSTL I wonder if you need something like this: ${formBean[layoutObject.property][layoutObject.property2]} Where

el in JSTL / JSP 2.0

2004-07-29 Thread Paul Wallace
Hi, I am trying to introduce JSP 2 with Tomcat 5 (full source below), and thus experimenting with the JSTL expression language in JSP tag files (.tag). I am bemused as to why I cannot embed the expression language within a JSTL tag thus: c:forEach begin=${a} end=${b}

RE: el in JSTL / JSP 2.0

2004-07-29 Thread JD Salzman
] Sent: Wednesday, July 28, 2004 11:17 PM To: [EMAIL PROTECTED] Subject: el in JSTL / JSP 2.0 Hi, I am trying to introduce JSP 2 with Tomcat 5 (full source below), and thus experimenting with the JSTL expression language in JSP tag files (.tag). I am bemused as to why I cannot embed

RE: el in JSTL / JSP 2.0

2004-07-29 Thread Paul Wallace
Hi, Tbanks for that. I was using the 2.4 schema: web-app xmlns=http://java.sun.com/xml/ns/j2ee; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd; version=2.4 And tried

RE: el in JSTL / JSP 2.0

2004-07-29 Thread Paul Wallace
Hi, It took me a while to get IJ/Jboss3.2.5(tomcat5)/JDK1.5 working but the above finally rendered jstl 1.1 ${2+2} without using c:out value=${2+2}/ That is what I am trying to do, embed some el in my JSTL (two int attributes passed into my tag, and the tag then iterates

Undeterministic Reflection Exception, Using EL, JSTL, and Torque Objects

2004-06-24 Thread Georg Filios
Hi, I do hope that I am here in the right group. I have a unpleasent error, for which I havent found a solution on several days research. Here is my Scenario: I do have a bug i.e. an Exception which occurs ocassionally but not always. Using Tomcat 5.0.24 and Servlet 2.4 I try to display a

Re: Undeterministic Reflection Exception, Using EL, JSTL, and Torque Objects

2004-06-24 Thread Martin Cooper
Something doesn't jibe here. You are saying that the evaluation of ${User.userName} is failing, but the stack trace you provide shows ArraySuffix in the call stack. I can't see how that class could be involved in evaluating the expression you give. Are you sure that is the expression that's

Re: Undeterministic Reflection Exception, Using EL, JSTL, and Torque Objects

2004-06-24 Thread Georg Filios
Hi Martin, hmm, It was my guess from the last line of the Stacktrace (as I pasted it), that the root is in the CompiledJspPage: at org.apache.jsp.WEB_002dINF.jsp.app.security.manage.user_jsp._jspx_meth_c _out_0(user_jsp.java:338) Here is the Line 338 of user_jsp.java. As I understand

Re: jsp 2.0 el string functions error

2004-06-22 Thread Þorgils Völundarson
using java web services (jwsdp-1.3) on linux. When I use the sql taglib to get data from database and then try to use el string functions on the outcome the error message above is given. This is the line of code I'm using which by the way works perfectly with static string ${fn:substring

Re: jsp 2.0 el string functions error

2004-06-21 Thread Kris Schneider
database and then try to use el string functions on the outcome the error message above is given. This is the line of code I'm using which by the way works perfectly with static string ${fn:substring(nullString,1, fn:length(nullString)) } Appreciate any help Regards, Thorgils

jsp 2.0 el string functions error

2004-06-17 Thread Þorgils Völundarson
to use el string functions on the outcome the error message above is given. This is the line of code I'm using which by the way works perfectly with static string ${fn:substring(nullString,1, fn:length(nullString)) } Appreciate any help Regards, Thorgils Volundarson Icelandic Cancer Registry

EL not evaluated

2004-04-19 Thread Stefan Frank
not change the output. Is there something else I have to do for evaluating EL-Expressions?! Cheers stf -- Stefan Frank iBioS - Intelligent BioInformatics Systems http://www.dkfz-heidelberg.de/ibios DKFZ - German Cancer Research Center Im Neuenheimer Feld 580 69120 Heidelberg Tel.: +49 (0) 6221 42

Re: EL not evaluated

2004-04-19 Thread Stefan Frank
: id: ${row.id} user:${row.user_name} even outing with c:out value=${row.user_name}/ does not change the output. Is there something else I have to do for evaluating EL-Expressions?! Cheers stf -- Stefan Frank iBioS - Intelligent BioInformatics Systems http://www.dkfz-heidelberg.de/ibios DKFZ

Can't ue EL Funcations ????

2004-04-01 Thread John MccLain
Howdy, I am trying to use the EL function c:out value=${fn:replace(col, '_','')/ I put jstl.jar and standard.jar in WEB-INF/lib, I put %@ taglib prefix=sql uri=http://java.sun.com/jstl/sql; % %@ taglib prefix=c uri=http://java.sun.com/jstl/core; % at the top of my page and all core and sql

RE: Can't ue EL Funcations ????

2004-04-01 Thread Johnson, Chris
You have to be using JSTL 1.1. -Original Message- From: John MccLain [mailto:[EMAIL PROTECTED] Sent: Thursday, April 01, 2004 3:02 PM To: taglibs user list Subject: Can't ue EL Funcations Howdy, I am trying to use the EL function c:out value=${fn:replace(col, '_','')/ I put

RE: Can't ue EL Funcations ????

2004-04-01 Thread John MccLain
where do I get it and how is it implemented differently?? -Original Message- From: Johnson, Chris [mailto:[EMAIL PROTECTED] Sent: Thursday, April 01, 2004 1:03 PM To: Tag Libraries Users List; [EMAIL PROTECTED] Subject: RE: Can't ue EL Funcations You have to be using JSTL 1.1

RE: Can't ue EL Funcations ????

2004-04-01 Thread Johnson, Chris
http://mirrors.xtria.com/apache/jakarta/taglibs/standard/ There should be a README that talks about installation. -Original Message- From: John MccLain [mailto:[EMAIL PROTECTED] Sent: Thursday, April 01, 2004 3:10 PM To: Tag Libraries Users List Subject: RE: Can't ue EL Funcations

EL access to a bean property... ?

2004-03-26 Thread Roy Benjamin
a series of SQL queries, but it seemed to me this was the better solution.. only the EL expression is null. I'm sure I'm doing something wrong Thanks Roy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

Re: EL access to a bean property... ?

2004-03-26 Thread Kris Schneider
Results:nbsp;c:out value=${TableRows.size}/nbsp;found. /TD I could just count things as they are added to the map over a series of SQL queries, but it seemed to me this was the better solution.. only the EL expression is null. I'm sure I'm doing something wrong Thanks Roy -- Kris

Re: EL access to a bean property... ?

2004-03-26 Thread Roy Benjamin
as they are added to the map over a series of SQL queries, but it seemed to me this was the better solution.. only the EL expression is null. I'm sure I'm doing something wrong Thanks Roy - To unsubscribe, e

Re: EL access to a bean property... ?

2004-03-26 Thread Kris Schneider
a series of SQL queries, but it seemed to me this was the better solution.. only the EL expression is null. I'm sure I'm doing something wrong Thanks Roy -- Kris Schneider mailto:[EMAIL PROTECTED] D.O.Tech http://www.dotech.com

Re: EL access to a bean property... ?

2004-03-26 Thread Bill Siggelkow
the EL expression is null. I'm sure I'm doing something wrong Thanks Roy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: good EL reference

2004-03-11 Thread Adam Hardy
On 03/11/2004 03:23 AM Daniel Lipofsky wrote: What is the definitive reference for EL syntax? I am having a hard time finding a good online reference. Get the pdf of the JSTL spec from Sun. Adam -- struts 1.1 + tomcat 5.0.16 + java 1.4.2 Linux 2.4.20 Debian

Can't use JSTL 1.1 EL functions without errors

2004-03-11 Thread Thomas Forrester
I am trying to use a JSTL EL function (fn:toUpperCase), although this problem occurs with any function. I think it has something to do with my setup. After looking around, I realised I needed to use a Servlet 2.4 web.xml . No I have done that I get another error. If I use code like

RE: Can't use JSTL 1.1 EL functions without errors

2004-03-11 Thread Martin van Dijken
included a c-rt.tld and a c.tld, if they are both still present, you need the c-rt.tld for JSP 2.0/Servlet 2.4 handling of the EL-functions Grtz, Martin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

Re: good EL reference

2004-03-11 Thread Kris Schneider
The EL doesn't support the BeanUtils concept of a mapped property. You'd have to expose a simple property of type Map to work with JSTL: public Map getSearchMap() { ... } c:out value=${form.ui.searchMap[key]}/ Quoting Daniel Lipofsky [EMAIL PROTECTED]: What is the definitive reference for EL

good EL reference

2004-03-10 Thread Daniel Lipofsky
What is the definitive reference for EL syntax? I am having a hard time finding a good online reference. I might as well ask my question too. How do you get something from a mapped property? That is, what is the EL syntax for ListForm.getUi().getSearch(String key) In struts (which uses

Subtracting 2 values from different collections using for:each and el

2004-02-12 Thread Adam Bickford
[] a = {0,1,2,3,4,5,6,7,8,9}; int[] b = {9,8,7,6,5,4,3,2,1,0}; for(int i = 0; i a.length; i++){ System.out.println(b[i]-a[i]); } How could I achieve that in JSTL using el? c:forEach var=total items=${dailyTotals} td c:out value=${total-(value

RE: Subtracting 2 values from different collections using for:each and el

2004-02-12 Thread Karr, David
different collections using for:each and el In a nutshell, I want to iterate over a collection and subtract a value from a different collection with the same position as the current collection. The problem is, I don't know how to reference the current iterator. For example, how would I do something

Re: EL not being evaluated?

2004-02-06 Thread Kris Schneider
. Even though everything appeared okay with my initial EL, I did note the following exception in catalina.log: java.lang.NullPointerException at org.apache.jasper.compiler.Compiler.isOutDated(Compiler.java:557) at org.apache.jasper.compiler.Compiler.isOutDated(Compiler.java

EL not being evaluated?

2004-02-05 Thread David Wall
I've installed JDK 1.4.2_03, Tomcat 5.0.18 and Apache's JSTL 1.1 on RH Linux 9. My XHTML JSP contains a simple construct: p1 + 2 + 3 = c:out value=${1+2+3}//p But the expression is not being evaluated, yet the c:out tag is being processed fine. The output just looks like: 1 + 2 + 3 =

RE: EL not being evaluated?

2004-02-05 Thread Ben Anderson
el has been incorporated into JSP 2.0 which is what Tomcat 5 implements. So, you no longer need the c:out tag. Just do: p1 + 2 + 3 = ${1+2+3}/p Check out Tomcat's default pages to see more cool things you can do with Tomcat 5 (JSP 2.0/Servlet2.4). -Ben From: David Wall [EMAIL PROTECTED

Re: EL not being evaluated?

2004-02-05 Thread Wolfgang Röckelein
but the taglib does the EL evaluation (you would need the 1.0.5 taglib version for this). Regards, wolfgang - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: EL not being evaluated?

2004-02-05 Thread David Wall
Since you're using a JSP 2.0 container, you should be able to just do: p1 + 2 + 3 = ${1+2+3}/p Make sure you're using a Servlet 2.4 deployment descriptor. That didn't work for me. Perhaps it's your last comment. What does it mean to have a 2.4 deployment descriptor for the JSP page? Maybe

Re: EL not being evaluated?

2004-02-05 Thread David Wall
I think you need to indicate in the web.xml that this is a jsp version 2 web application, otherwise the container assumes the web application is written for an old jsp version where not the container but the taglib does the EL evaluation (you would need the 1.0.5 taglib version

Re: EL not being evaluated?

2004-02-05 Thread Wolfgang Röckelein
David Wall wrote: I think you need to indicate in the web.xml that this is a jsp version 2 web application, otherwise the container assumes the web application is written for an old jsp version where not the container but the taglib does the EL evaluation (you would need the 1.0.5 taglib

Re: EL not being evaluated?

2004-02-05 Thread David Wall
with my initial EL, I did note the following exception in catalina.log: java.lang.NullPointerException at org.apache.jasper.compiler.Compiler.isOutDated(Compiler.java:557) at org.apache.jasper.compiler.Compiler.isOutDated(Compiler.java:487

Re: EL not being evaluated?

2004-02-05 Thread Kris Schneider
Instead of: !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN http://java.sun.com/dtd/web-app_2_3.dtd; web-app ... /web-app Use: web-app xmlns=http://java.sun.com/xml/ns/j2ee; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;

Re: How to cast String to Number in JSTL EL ?

2004-01-03 Thread ....
For paging, take a look at the displaytag on sf.net. .V Jason Lea wrote: I had a similar problem (paging and JSTL) and managed to get it working. The c:set var=lastPageNo value=1/ code is setting the lastPageNo to a string and then later on it is doing a string concatenation on it so you get

Re: How to cast String to Number in JSTL EL ?

2003-12-29 Thread Francois Beausoleil
Thanks for the tip :) You are right. Maybe I should move these out of the JSP. Bye ! François On Sun, 28 Dec 2003 22:42:23 -0500, Kris Schneider [EMAIL PROTECTED] said: It's not a direct answer to your question, but it seems like the work you're doing is more suited to a servlet or

Re: How to cast String to Number in JSTL EL ?

2003-12-29 Thread Jason Lea
I had a similar problem (paging and JSTL) and managed to get it working. The c:set var=lastPageNo value=1/ code is setting the lastPageNo to a string and then later on it is doing a string concatenation on it so you get 13 instead of 4 JSTL will coerce it into an integer if you assign it this

How to cast String to Number in JSTL EL ?

2003-12-28 Thread Francois Beausoleil
Hi ! I have a slight problem. I am building a paged results browser, and I have a problem with my next action. The root of the problem is because JSTL thinks that some values are strings, and not numbers. The code I am running is: fmt:formatNumber var=lastPageNo value=${numberOfContacts /

using scripting variable in JSTL standard 1.0 EL

2003-12-15 Thread Antony Paul
Hi, I have a page where a value is calculated at top of the page based on a request parameter. It is an integer. Using normal JSP I could get this varaible at another part in page. But if using JSTL do I have to set the value first in pageContext then get the value using EL

Result.getRowCount() in EL.

2003-12-15 Thread Antony Paul
Hi, How to access the method Result.getRowCount() in JSTL standard 1.0 EL. rgds Antony Paul. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: using scripting variable in JSTL standard 1.0 EL

2003-12-15 Thread david . schwartz
: Subject: using scripting variable in JSTL standard 1.0 EL 12/15/2003 09:41

Re: Result.getRowCount() in EL.

2003-12-15 Thread david . schwartz
: Subject: Result.getRowCount() in EL. 12/15/2003 09:42 AM

Re: using scripting variable in JSTL standard 1.0 EL

2003-12-15 Thread Martin Cooper
You can access request parameters directly with the EL. For example, if you have a request parameter named foo, you can do this: c:out value=${param.foo}/ The 'param' part is an implicit object that lets you access the request parameters. -- Martin Cooper On Mon, 15 Dec 2003, Antony Paul

  1   2   3   >