RE: struts-logic counterpart of this...

2004-11-17 Thread Karr, David
Well, first of all, there's no technical reason you can't use the JSTL and Struts taglibs on the same page. An important question is what web container you're using. If your web container supports JSP 2.0, then you can use the EL in your JSP (assuming you use the servlet 2.4 doctype, and a couple

Re: sql:query var empty

2004-11-17 Thread Matthew Lenz
- Original Message - From: "Chris Gow" <[EMAIL PROTECTED]> To: "Tag Libraries Users List" <[EMAIL PROTECTED]> Sent: Wednesday, November 17, 2004 5:01 PM Subject: Re: sql:query var empty On November 17, 2004 05:40 pm, Matthew Lenz wrote: And after a day of messing around and 5 minutes aft

Re: sql:query var empty

2004-11-17 Thread Chris Gow
On November 17, 2004 05:40 pm, Matthew Lenz wrote: > And after a day of messing around and 5 minutes after posting.. i find: > > http://marc.theaimsgroup.com/?l=taglibs-user&m=109948926807297&w=4 > > I guess that means jakarta-taglibs-standard-1.1.2/README is a big fat > liar :) Err...not exactly.

struts-logic counterpart of this...

2004-11-17 Thread luca
Hi, I'm a bit familiar with JSTL, but right now I need to integrate with some existing JSP code which uses the struts tag-lib and I am a bit lost there. How do I turn this JSTL: into something that works with the struts-logic tags? I understand that I can use something like:

Re: sql:query var empty

2004-11-17 Thread Matthew Lenz
And after a day of messing around and 5 minutes after posting.. i find: http://marc.theaimsgroup.com/?l=taglibs-user&m=109948926807297&w=4 I guess that means jakarta-taglibs-standard-1.1.2/README is a big fat liar :) good lord. On Wed, 2004-11-17 at 16:29 -0600, Matthew Lenz wrote: > I'm really

sql:query var empty

2004-11-17 Thread Matthew Lenz
I'm really new to java so you'll have to forgive me. here is the setup: j2sdk1.4.2_06 (rpm from sun) apache-ant-1.6.2 (from apache.org) jakarta-tomcat-5.0.28 (from apache.org) jakarta-taglibs-standard-1.1.2 (from apache.org) MySQL-server-4.1.7-0 (rpm from MySQL AB) mysql-connector-java-3.0.15-ga

Re: Using JSTL with java.io.Reader

2004-11-17 Thread Paul Michael Ung
I actually wanted to do it without having to write any additional java code and just using the existing taglibs, but if that's not possible, your idea does sound really good. Maybe that might be the way to go. Thanks for the help! - Original Message - From: Kris Schneider <[EMAIL PROTEC

JSTL 1.1 for Java5?

2004-11-17 Thread Andreas Schildbach
Hello everyone, The current version 1.1.2 of the standard taglib is dependant on Apache Xerces and Xalan, which are included in JDK 1.4. With JDK 1.5, package names have changed to com.sun.apache.* (effectively hiding the implementation) and there are new implementation-independant interfaces f

RE: forEach gives servletexception

2004-11-17 Thread thomas delnoij
Hi, the problem indeed was in the HQL query - fixing the query resulted in a List with objects of type Gallery, that can be processed correctly by the posted forEach tag. Much obliged, Thomas --- thomas delnoij <[EMAIL PROTECTED]> wrote: > David, > > I am assuming that it is a bean, with a St

Re: Using JSTL with java.io.Reader

2004-11-17 Thread Kris Schneider
Quick'n dirty, off the top of my head bean-based solution (untested): package com.dotech.io; import java.io.BufferedReader; import java.io.IOException; import java.io.Reader; import java.util.ArrayList; import java.util.Collections; import java.util.List; public class LinesFromReader { pri