Re: Problems with TomCat 5.0 and SQL tag lib

2004-06-01 Thread Wolfgang Röckelein
Derek Mahar wrote: Do you have an SQL Server JDBC driver and did you copy the driver JAR files to $CATALINA_HOME/common/lib or WEB-INF/lib? You can use the AFAIK they need to be in $CATALINA_HOME/common/lib, WEB-INF/lib won't work due to classloader issues. Regards, Wolfgang

Re: [JSTL] How do I enter a null value with sql:param?

2004-05-19 Thread Wolfgang Röckelein
Derek Mahar wrote: Your solution is equivalent to Case 2 that I listed in my original message. The Microsoft SQL Server JDBC driver complains with a JspException: javax.servlet.ServletException: javax.servlet.jsp.JspException: INSERT INTO tblTest(a) VALUES (?) : [Microsoft][SQLServer 2000

Re: [JSTL] How do I enter a null value with sql:param?

2004-05-19 Thread Wolfgang Röckelein
Keith wrote: This was on the Users list and was my problem. But mine had to do specifically with the sql:dateParam and the Oracle JDBC driver. The regular sql:param worked fine for me when I passed it a null value. Link to the starting thread in the archive: http://www.mail-archive.com/[EMAIL

Re: EL not being evaluated?

2004-02-05 Thread Wolfgang Röckelein
David Wall wrote: 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 +

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: Whitespace generated by JSTL tags

2002-11-14 Thread Wolfgang Röckelein
Hi, Hans Bergsten wrote: Anyway, the best way to handle it is probably to use a filter that compresses the response (most browsers supports compressed responses today) since that would reduce the space needed for both whitespace and repeated tags. See this article for an example of the

Re: Beefing up JSTL EL in JSP 2

2002-10-15 Thread Wolfgang Röckelein
Hi, just adding my cents... Gideon, Thomas wrote: Maybe it's just me but I don't see JSP as intrinsically OO. Even if one tries to cram them, incorrectly in my mind, into the category of a 4GL technology. JSP as it relates to HTML, and even to a large extent XML, is about document

Re: How to break a loop in JSTL c:foreach

2002-09-11 Thread Wolfgang Röckelein
Hi, Shawn Bayern wrote: I've read the jstl spec. in detail and don't find a way to do it. And I guess it's not supported by jstl. Am I right? Right. You can instead use c:if to prevent the body from running. We also stumbled on this and used also this solution. There isn't a good way, using

Re: [JSTL] BigInteger with c:set taget=

2002-06-14 Thread Wolfgang Röckelein
Hi, Shawn Bayern wrote: | On Thu, 13 Jun 2002, Wolfgang Röckelein wrote: |is it possible to set a BigInteger property with the c:set target= |property= in the EL JSTL? Same for a parameter in a prepared SQl |statement? | | You can set any sort of property with | | c:set target=... property

[JSTL] BigInteger with c:set taget=

2002-06-13 Thread Wolfgang Röckelein
Hi, is it possible to set a BigInteger property with the c:set target= property= in the EL JSTL? Same for a parameter in a prepared SQl statement? As BigInteger is used as a type in JDBC, I would say that this question will come up alsewhere, too... Greetings, ~ Wolfgang -- To unsubscribe,

[JSTL] BigInteger with c:set taget=

2002-06-13 Thread Wolfgang Röckelein
Hi, is it possible to set a BigInteger property with the c:set target= property= in the EL JSTL? Same for a parameter in a prepared SQl statement? As BigInteger is used as a type in JDBC, I would say that this question will come up alsewhere, too... Greetings, ~ Wolfgang -- To unsubscribe,

Re: DataSource Error...

2002-04-29 Thread Wolfgang Röckelein
, 2002-04-29 at 08:45, Wolfgang Röckelein wrote: I have the following problem: I put the JNDI Name in a scripting variable (c:set) and used that variable in the datasource property of a query as an EL expression, which resulted in an error. This worked in the nightly builds till early March

Re: Can't concatenate 2 strings together

2002-04-25 Thread Wolfgang Röckelein
Hi, Martin Cooper wrote: In JSTL, '+' is a numeric operator only. However, this will do what you want: c:import url=${viewPath}${assetForm.filename}/ In this case this is a solution. However, having a concatening operator would be very helpful e.g. when you want to test the result e.g ${(x

Re: Nesting tags from different tag libraries?

2002-04-24 Thread Wolfgang Röckelein
Hi, Shawn Bayern wrote: On Tue, 23 Apr 2002, Carole E. Mah wrote: This is REALLY important, because each time I upgrade to a new version of the taglibs, I only need to update the one in /usr/java/jakarta-taglibs/. Whereas if I copied the file to all the different

Question regarding c:if

2002-01-29 Thread Wolfgang Röckelein
Hi, when using c:if with EL=ECMAscript, what are the semantics with the comparison operator ==, e.g. with test=$test == 'test', i.e. it seems that if the variable test is not a string, the test always fails (when I set the variable with c:set var=test value=$result.getRows()[0].get(0)

Re: Accessing session scoped variables from exppression languageinthe standard taglib: Howto?

2002-01-29 Thread Wolfgang Röckelein
Hi, Shawn Bayern wrote: BTW: Are you sure that the core-rt version of if works? I never succeeded in getting the body evaluated, even with test=1==1... It works for me: crt:if test=%= 1==1 % 1 does indeed equal 1, interestingly enough /crt:if Aha, this is how it is supposed