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 is configured and sees what it needs, and look happy.

 Problem 01 - My EL expressions in my c:out value=${some Expression} 
/ are not being evaluated, they look right but the expressions are 
just printed out on the screen like this ${some Expression} as plain 
text. Now it is not a problem with my tags because my c:choose tags 
and others work fine. So it looks my core tags are working, but why are 
my expressions not being executed?

 Here is the page any suggestions?
-Kurt
code:
%@ taglib uri=/WEB-INF/tld/c.tld prefix=c %
%@ taglib uri=/WEB-INF/tld/sql.tld prefix=sql %
%@ taglib uri=/WEB-INF/tld/fmt.tld prefix=fmt %
%@ taglib uri=/WEB-INF/tld/x.tld prefix=x %
html
  head
titleSearch Result/title
  /head
  body bgcolor=white
  pCreate a a href=newCreate.jspnew Blog/a/p
  c:choose
c:when test=${not empty listQuery.rows}
  Sorry, no existing blogs were found.
/c:when
c:otherwise
  The following soapbox articles were found:
table border=1
thID/th
thDate Created/th
thDate Last Modified/th
thArticle Status/th
thArticle Title/th
thArticle Summery/th
thEdit/th
thDelete/th
c:forEach items=${listQuery.rows} var=row
tr
tdc:out value=${row.id} //td
tdc:out value=${row.dateCreated} //td
tdc:out value=${row.dateLastModified} //td
tdc:out value=${row.articleStatus} //td
tdc:out value=${row.articleTitle} //td
tdc:out value=${row.articleSummery} //td
tda href=currentQuery.jsp?id=c:out value=${row.id} 
/Edit/a/td
tda href=delete.jsp?id=c:out value=${row.id} 
/Delete/a/td
/tr
/c:forEach
/table

/c:otherwise
  /c:choose
  /body
/html

Re: EL expression not evaluating

2004-09-06 Thread Dima Gutzeit
Hi,

Take a look on the web.xml file of your application. It should begin with
the following :

web-app version=2.4
 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; 

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.

   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 is configured and sees what it needs, and look happy.

   Problem 01 - My EL expressions in my c:out value=${some Expression}
 / are not being evaluated, they look right but the expressions are
 just printed out on the screen like this ${some Expression} as plain
 text. Now it is not a problem with my tags because my c:choose tags
 and others work fine. So it looks my core tags are working, but why are
 my expressions not being executed?

   Here is the page any suggestions?

 -Kurt

 code:


 %@ taglib uri=/WEB-INF/tld/c.tld prefix=c %
 %@ taglib uri=/WEB-INF/tld/sql.tld prefix=sql %
 %@ taglib uri=/WEB-INF/tld/fmt.tld prefix=fmt %
 %@ taglib uri=/WEB-INF/tld/x.tld prefix=x %

 html
head
  titleSearch Result/title
/head
body bgcolor=white

pCreate a a href=newCreate.jspnew Blog/a/p

c:choose
  c:when test=${not empty listQuery.rows}
Sorry, no existing blogs were found.
  /c:when
  c:otherwise

The following soapbox articles were found:

  table border=1
  thID/th
  thDate Created/th
  thDate Last Modified/th
  thArticle Status/th
  thArticle Title/th
  thArticle Summery/th
  thEdit/th
  thDelete/th

  c:forEach items=${listQuery.rows} var=row
  tr
  tdc:out value=${row.id} //td
  tdc:out value=${row.dateCreated} //td
  tdc:out value=${row.dateLastModified} //td
  tdc:out value=${row.articleStatus} //td
  tdc:out value=${row.articleTitle} //td
  tdc:out value=${row.articleSummery} //td
  tda href=currentQuery.jsp?id=c:out value=${row.id}
 /Edit/a/td
  tda href=delete.jsp?id=c:out value=${row.id}
 /Delete/a/td
  /tr
  /c:forEach
  /table

  /c:otherwise
/c:choose

/body
 /html



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: EL expression not evaluating

2004-09-06 Thread clunkyrobot
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.dtd;

web-app
!-- makes MySQL driver accessible --
  context-param
  param-name
  javax.servlet.jsp.jstl.sql.dataSource
  /param-name
  param-value
  
jdbc:mysql://localhost/scuttlebug,com.mysql.jdbc.Driver,guest,guest
  /param-value
  /context-param

/web-app

Very basic - I tried adding Dima XML however to no effect?
Can anyone see some thing I am missing:
On 06/09/2004, at 11:54 PM, Dima Gutzeit wrote:
Hi,
Take a look on the web.xml file of your application. It should begin 
with
the following :

web-app version=2.4
 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; 
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.
  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 is configured and sees what it needs, and look happy.
  Problem 01 - My EL expressions in my c:out value=${some 
Expression}
/ are not being evaluated, they look right but the expressions are
just printed out on the screen like this ${some Expression} as plain
text. Now it is not a problem with my tags because my c:choose tags
and others work fine. So it looks my core tags are working, but why 
are
my expressions not being executed?

  Here is the page any suggestions?
-Kurt
code:
%@ taglib uri=/WEB-INF/tld/c.tld prefix=c %
%@ taglib uri=/WEB-INF/tld/sql.tld prefix=sql %
%@ taglib uri=/WEB-INF/tld/fmt.tld prefix=fmt %
%@ taglib uri=/WEB-INF/tld/x.tld prefix=x %
html
   head
 titleSearch Result/title
   /head
   body bgcolor=white
   pCreate a a href=newCreate.jspnew Blog/a/p
   c:choose
 c:when test=${not empty listQuery.rows}
   Sorry, no existing blogs were found.
 /c:when
 c:otherwise
   The following soapbox articles were found:
 table border=1
 thID/th
 thDate Created/th
 thDate Last Modified/th
 thArticle Status/th
 thArticle Title/th
 thArticle Summery/th
 thEdit/th
 thDelete/th
 c:forEach items=${listQuery.rows} var=row
 tr
 tdc:out value=${row.id} //td
 tdc:out value=${row.dateCreated} //td
 tdc:out value=${row.dateLastModified} //td
 tdc:out value=${row.articleStatus} //td
 tdc:out value=${row.articleTitle} //td
 tdc:out value=${row.articleSummery} //td
 tda href=currentQuery.jsp?id=c:out value=${row.id}
/Edit/a/td
 tda href=delete.jsp?id=c:out value=${row.id}
/Delete/a/td
 /tr
 /c:forEach
 /table
 /c:otherwise
   /c:choose
   /body
/html

-
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]


RE: EL expression not evaluating

2004-09-06 Thread Allistair Crossley
think you need 2.4 webapp dtd

web-app 
version=2.4 
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;

 -Original 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, Inc.//DTD Web 
 Application 2.3//EN http://java.sun.com/dtd/web-app_2_3.dtd;
 
 web-app
 
  !-- makes MySQL driver accessible --
context-param
param-name
javax.servlet.jsp.jstl.sql.dataSource
/param-name
param-value

 jdbc:mysql://localhost/scuttlebug,com.mysql.jdbc.Driver,guest,guest
/param-value
/context-param
 
 /web-app
 
 
 
 Very basic - I tried adding Dima XML however to no effect?
 
 Can anyone see some thing I am missing:
 
 On 06/09/2004, at 11:54 PM, Dima Gutzeit wrote:
 
  Hi,
 
  Take a look on the web.xml file of your application. It 
 should begin 
  with
  the following :
 
  web-app version=2.4
   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; 
 
  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.
 
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 is configured and sees what it needs, and look happy.
 
Problem 01 - My EL expressions in my c:out value=${some 
  Expression}
  / are not being evaluated, they look right but the expressions are
  just printed out on the screen like this ${some 
 Expression} as plain
  text. Now it is not a problem with my tags because my 
 c:choose tags
  and others work fine. So it looks my core tags are 
 working, but why 
  are
  my expressions not being executed?
 
Here is the page any suggestions?
 
  -Kurt
 
  code:
 
 
  %@ taglib uri=/WEB-INF/tld/c.tld prefix=c %
  %@ taglib uri=/WEB-INF/tld/sql.tld prefix=sql %
  %@ taglib uri=/WEB-INF/tld/fmt.tld prefix=fmt %
  %@ taglib uri=/WEB-INF/tld/x.tld prefix=x %
 
  html
 head
   titleSearch Result/title
 /head
 body bgcolor=white
 
 pCreate a a href=newCreate.jspnew Blog/a/p
 
 c:choose
   c:when test=${not empty listQuery.rows}
 Sorry, no existing blogs were found.
   /c:when
   c:otherwise
 
 The following soapbox articles were found:
 
   table border=1
   thID/th
   thDate Created/th
   thDate Last Modified/th
   thArticle Status/th
   thArticle Title/th
   thArticle Summery/th
   thEdit/th
   thDelete/th
 
   c:forEach items=${listQuery.rows} var=row
   tr
   tdc:out value=${row.id} //td
   tdc:out value=${row.dateCreated} //td
   tdc:out value=${row.dateLastModified} //td
   tdc:out value=${row.articleStatus} //td
   tdc:out value=${row.articleTitle} //td
   tdc:out value=${row.articleSummery} //td
   tda href=currentQuery.jsp?id=c:out 
 value=${row.id}
  /Edit/a/td
   tda href=delete.jsp?id=c:out value=${row.id}
  /Delete/a/td
   /tr
   /c:forEach
   /table
 
   /c:otherwise
 /c:choose
 
 /body
  /html
 
 
 
  
 -
  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]
 
 


FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE 
---
QAS Ltd.
Developers of QuickAddress Software
a href=http://www.qas.com;www.qas.com/a
Registered in England: No 2582055
Registered in Australia: No 082 851 474
---
/FONT


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: EL expression not evaluating

2004-09-06 Thread Allistair Crossley
also, get the latest jstl 1.1 and use

%@ taglib uri=http://java.sun.com/jsp/jstl/core; prefix=c %
%@ taglib uri=http://java.sun.com/jsp/jstl/fmt; prefix=fmt %
%@ taglib uri=http://java.sun.com/jsp/jstl/functions; prefix=fn %

ADC

 -Original 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, Inc.//DTD Web 
 Application 2.3//EN http://java.sun.com/dtd/web-app_2_3.dtd;
 
 web-app
 
  !-- makes MySQL driver accessible --
context-param
param-name
javax.servlet.jsp.jstl.sql.dataSource
/param-name
param-value

 jdbc:mysql://localhost/scuttlebug,com.mysql.jdbc.Driver,guest,guest
/param-value
/context-param
 
 /web-app
 
 
 
 Very basic - I tried adding Dima XML however to no effect?
 
 Can anyone see some thing I am missing:
 
 On 06/09/2004, at 11:54 PM, Dima Gutzeit wrote:
 
  Hi,
 
  Take a look on the web.xml file of your application. It 
 should begin 
  with
  the following :
 
  web-app version=2.4
   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; 
 
  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.
 
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 is configured and sees what it needs, and look happy.
 
Problem 01 - My EL expressions in my c:out value=${some 
  Expression}
  / are not being evaluated, they look right but the expressions are
  just printed out on the screen like this ${some 
 Expression} as plain
  text. Now it is not a problem with my tags because my 
 c:choose tags
  and others work fine. So it looks my core tags are 
 working, but why 
  are
  my expressions not being executed?
 
Here is the page any suggestions?
 
  -Kurt
 
  code:
 
 
  %@ taglib uri=/WEB-INF/tld/c.tld prefix=c %
  %@ taglib uri=/WEB-INF/tld/sql.tld prefix=sql %
  %@ taglib uri=/WEB-INF/tld/fmt.tld prefix=fmt %
  %@ taglib uri=/WEB-INF/tld/x.tld prefix=x %
 
  html
 head
   titleSearch Result/title
 /head
 body bgcolor=white
 
 pCreate a a href=newCreate.jspnew Blog/a/p
 
 c:choose
   c:when test=${not empty listQuery.rows}
 Sorry, no existing blogs were found.
   /c:when
   c:otherwise
 
 The following soapbox articles were found:
 
   table border=1
   thID/th
   thDate Created/th
   thDate Last Modified/th
   thArticle Status/th
   thArticle Title/th
   thArticle Summery/th
   thEdit/th
   thDelete/th
 
   c:forEach items=${listQuery.rows} var=row
   tr
   tdc:out value=${row.id} //td
   tdc:out value=${row.dateCreated} //td
   tdc:out value=${row.dateLastModified} //td
   tdc:out value=${row.articleStatus} //td
   tdc:out value=${row.articleTitle} //td
   tdc:out value=${row.articleSummery} //td
   tda href=currentQuery.jsp?id=c:out 
 value=${row.id}
  /Edit/a/td
   tda href=delete.jsp?id=c:out value=${row.id}
  /Delete/a/td
   /tr
   /c:forEach
   /table
 
   /c:otherwise
 /c:choose
 
 /body
  /html
 
 
 
  
 -
  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]
 
 


FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE 
---
QAS Ltd.
Developers of QuickAddress Software
a href=http://www.qas.com;www.qas.com/a
Registered in England: No 2582055
Registered in Australia: No 082 851 474
---
/FONT


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: EL expression not evaluating

2004-09-06 Thread Dima Gutzeit
Replace the following :

!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

With the value from my first reply.

- Original Message - 
From: clunkyrobot [EMAIL PROTECTED]
To: Tag Libraries Users List [EMAIL 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.dtd;
 
 web-app
 
  !-- makes MySQL driver accessible --
context-param
param-name
javax.servlet.jsp.jstl.sql.dataSource
/param-name
param-value

 jdbc:mysql://localhost/scuttlebug,com.mysql.jdbc.Driver,guest,guest
/param-value
/context-param
 
 /web-app
 
 
 
 Very basic - I tried adding Dima XML however to no effect?
 
 Can anyone see some thing I am missing:
 
 On 06/09/2004, at 11:54 PM, Dima Gutzeit wrote:
 
  Hi,
 
  Take a look on the web.xml file of your application. It should begin 
  with
  the following :
 
  web-app version=2.4
   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; 
 
  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.
 
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 is configured and sees what it needs, and look happy.
 
Problem 01 - My EL expressions in my c:out value=${some 
  Expression}
  / are not being evaluated, they look right but the expressions are
  just printed out on the screen like this ${some Expression} as plain
  text. Now it is not a problem with my tags because my c:choose tags
  and others work fine. So it looks my core tags are working, but why 
  are
  my expressions not being executed?
 
Here is the page any suggestions?
 
  -Kurt
 
  code:
 
 
  %@ taglib uri=/WEB-INF/tld/c.tld prefix=c %
  %@ taglib uri=/WEB-INF/tld/sql.tld prefix=sql %
  %@ taglib uri=/WEB-INF/tld/fmt.tld prefix=fmt %
  %@ taglib uri=/WEB-INF/tld/x.tld prefix=x %
 
  html
 head
   titleSearch Result/title
 /head
 body bgcolor=white
 
 pCreate a a href=newCreate.jspnew Blog/a/p
 
 c:choose
   c:when test=${not empty listQuery.rows}
 Sorry, no existing blogs were found.
   /c:when
   c:otherwise
 
 The following soapbox articles were found:
 
   table border=1
   thID/th
   thDate Created/th
   thDate Last Modified/th
   thArticle Status/th
   thArticle Title/th
   thArticle Summery/th
   thEdit/th
   thDelete/th
 
   c:forEach items=${listQuery.rows} var=row
   tr
   tdc:out value=${row.id} //td
   tdc:out value=${row.dateCreated} //td
   tdc:out value=${row.dateLastModified} //td
   tdc:out value=${row.articleStatus} //td
   tdc:out value=${row.articleTitle} //td
   tdc:out value=${row.articleSummery} //td
   tda href=currentQuery.jsp?id=c:out value=${row.id}
  /Edit/a/td
   tda href=delete.jsp?id=c:out value=${row.id}
  /Delete/a/td
   /tr
   /c:forEach
   /table
 
   /c:otherwise
 /c:choose
 
 /body
  /html
 
 
 
  -
  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]
 
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]