Re: JSTL 1.0 and the function library

2004-08-17 Thread Helios Alonso
Maybe the simplest thing is to implement that only function in your own tag library (I cannot help very much in this topic but I understand it's not complicated declaring the functions as it's not declaring tags) At 14:08 16/08/2004 -0400, you wrote: Because of the difficulty I had integrating

RE: JSTL 1.0 and the function library

2004-08-17 Thread Simon Benzekri
I think you mean http://www.servletsuite.com/ on the left side of the screen under products server side. :-) Simon -Original Message- From: Þorgils Völundarson [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 17, 2004 6:35 AM To: Tag Libraries Users List Subject: Re: JSTL 1.0

Re: JSTL 1.0 and the function library

2004-08-17 Thread Kris Schneider
Here's a quick EL-only version of an indexOf tag. There's an example here: http://www.onjava.com/pub/a/onjava/2002/09/11/jstl2.html of using Standard taglib classes to build your own EL-aware tags. package com.dotech; import java.io.IOException; import javax.servlet.jsp.JspException; import

Re: jstl BINARY field with mysql

2004-08-16 Thread Kris Schneider
The major difference between what JSTL does to populate the rows of the myQuery variable and your scriptlet code is that JSTL uses ResultSet.getObject while your scriptlet code uses ResultSet.getString. So, if you change this: String fieldValue = m_rs.getString(nick_name); out.println(fieldValue

Re: jstl BINARY field with mysql

2004-08-16 Thread Lorenzo Sicilia
Kris Schneider wrote: The major difference between what JSTL does to populate the rows of the myQuery variable and your scriptlet code is that JSTL uses ResultSet.getObject while your scriptlet code uses ResultSet.getString. Thanks Kris for the answer. I understand better. I change my query,now:

RE: JSTL 1.1 jaxp problem (under tomcat 5.0.19/java 1.4.2_03)

2004-07-28 Thread Wim Goossens
, Chris [mailto:[EMAIL PROTECTED] Verzonden: dinsdag 16 maart 2004 18:29 Aan: Tag Libraries Users List Onderwerp: RE: JSTL 1.1 jaxp problem (under tomcat 5.0.19/java 1.4.2_03) Thanks for all of the help so far. I submitted bug 27717. Chris -Original Message- From: [EMAIL PROTECTED

RE: JSTL 1.1 jaxp problem (under tomcat 5.0.19/java 1.4.2_03)

2004-07-28 Thread Johnson, Chris
I haven't heard a thing. -Original Message- From: Wim Goossens [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 28, 2004 4:46 AM To: Tag Libraries Users List Subject: RE: JSTL 1.1 jaxp problem (under tomcat 5.0.19/java 1.4.2_03) Chris, Kris, Pierre, Do you know anything about a fix

RE: jstl, jsf , struts or ...

2004-07-28 Thread Simon Benzekri
I strongly suggest you download a demo of JSF you will be, as I was, very impressed with the power of it. Look up http://horstmann.com/corejsf/ for an intro. This other site will answer most of your questions as to were JSF struts fit. http://www.jsfcentral.com/ Cheers, Simon -Original

Re: JSTL XML and multibyte characters

2004-07-18 Thread Mark R. Diggory
You might explore the issue with JAXP/SAX/Xerces initially to see if it is a parser level issue, JSTL XML simply is a wrapper around JAXP. -Mark Dylan MacDonald wrote: Hi - I would like to store some multibyte content in an xml file and then retrieve and display that content using the JSTL XML

Re: JSTL 1.0.5 Update Question

2004-06-13 Thread Jack Lauman
Worked great! Thanks. Jack Martin Cooper wrote: On Sun, 13 Jun 2004, Jack Lauman wrote: I'm using the following code to insert data from a form. The first to fields in the data base don't come from form fields but from entries in the web.xml file. How do you insert the web.xml value of:

RE: [JSTL] Indexed array variable

2004-06-02 Thread Derek Mahar
-Original Message- From: Bill Siggelkow [mailto:[EMAIL PROTECTED] Sent: June 1, 2004 8:49 PM To: 'Tag Libraries Users List' Subject: RE: [JSTL] Indexed array variable I don't think that JSTL is going to be able to create array elements. I think you will need to allocate

RE: [JSTL] Indexed array variable

2004-06-02 Thread Simon Benzekri
Good idea but how will multi-dimensional arrays be populated? Simon -Original Message- From: Helios Alonso [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 02, 2004 9:48 AM To: Tag Libraries Users List Subject: RE: [JSTL] Indexed array variable It would be great. I think it's very

RE: [JSTL] Indexed array variable

2004-06-02 Thread Derek Mahar
-dimensional array, and so on. What do you think? Derek -Original Message- From: Simon Benzekri Sent: June 2, 2004 10:10 AM To: Tag Libraries Users List Subject: RE: [JSTL] Indexed array variable Good idea but how will multi-dimensional arrays be populated? Simon -Original

RE: [JSTL] Indexed array variable

2004-06-02 Thread Helios Alonso
Message- From: Simon Benzekri Sent: June 2, 2004 10:10 AM To: Tag Libraries Users List Subject: RE: [JSTL] Indexed array variable Good idea but how will multi-dimensional arrays be populated? Simon -Original Message- From: Helios Alonso [mailto:[EMAIL PROTECTED] Sent

RE: [JSTL] Indexed array variable

2004-06-02 Thread Simon Benzekri
Libraries Users List Subject: RE: [JSTL] Indexed array variable Good question! We can represent a multi-dimensional array as a recursive array of arrays. For example, given tag c:setArray, we could both allocate and assign a two-dimensional array as follows: %-- Create the first row, assign

RE: [JSTL] Indexed array variable (and associations)

2004-06-02 Thread Helios Alonso
Well, c:set can set associations. If the code I saw is fine, you can do this: c:set target=myAsoc property=name value=John/ to add an entry in myAsoc: Map telling that name correspond to John how do I do to access it? ${myAsoc['name']} ? At 12:05 02/06/2004 -0300, you wrote: 2 questions: 1) At

RE: [JSTL] Indexed array variable (and associations)

2004-06-02 Thread Derek Mahar
[mailto:[EMAIL PROTECTED] Sent: June 2, 2004 11:23 AM To: Tag Libraries Users List Subject: RE: [JSTL] Indexed array variable (and associations) Well, c:set can set associations. If the code I saw is fine, you can do this: c:set target=myAsoc property=name value=John/ to add an entry

RE: [JSTL] Indexed array variable (and associations)

2004-06-02 Thread Helios Alonso
At 12:22 02/06/2004 -0300, you wrote: Well, c:set can set associations. If the code I saw is fine, you can do this: c:set target=myAsoc property=name value=John/ to add an entry in myAsoc: Map telling that name correspond to John how do I do to access it? ${myAsoc['name']} ? Thanks (I finally

RE: [JSTL] Indexed array variable

2004-06-02 Thread Derek Mahar
]} and so on. Derek -Original Message- From: Helios Alonso [mailto:[EMAIL PROTECTED] Sent: June 2, 2004 11:05 AM To: Tag Libraries Users List Subject: RE: [JSTL] Indexed array variable 2 questions: 1) At the moment, does EL allows bracket notation for accesing arrays? 2

RE: [JSTL] Indexed array variable

2004-06-02 Thread Michael McGrady
c:set to permit the assignment of array elements? Derek -Original Message- From: Bill Siggelkow [mailto:[EMAIL PROTECTED] Sent: June 1, 2004 8:49 PM To: 'Tag Libraries Users List' Subject: RE: [JSTL] Indexed array variable I don't think that JSTL is going to be able to create array

RE: [JSTL] Indexed array variable (and associations)

2004-06-02 Thread Derek Mahar
as an attribute, you should make this clear in the tag documentation. Derek -Original Message- From: Helios Alonso [mailto:[EMAIL PROTECTED] Sent: June 2, 2004 12:02 PM To: Tag Libraries Users List Subject: RE: [JSTL] Indexed array variable (and associations) At 12:22 02/06/2004 -0300

RE: [JSTL] Indexed array variable

2004-06-01 Thread Bill Siggelkow
I don't think that JSTL is going to be able to create array elements. I think you will need to allocate the array ahead of time. Maybe someone else can clarify this a little more. Bill Siggelkow [EMAIL PROTECTED] -Original Message- From: Derek Mahar [mailto:[EMAIL PROTECTED] Sent:

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

2004-05-20 Thread Justyna Horwat
direction and being patient with my posts as I worked through my problem. Derek -Original Message- From: Wolfgang Rckelein [mailto:[EMAIL PROTECTED] Sent: May 19, 2004 10:40 AM To: Tag Libraries Users List Subject: Re: [JSTL] How do I enter a null value with sql:param? Keith wrote

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

2004-05-20 Thread Derek Mahar
, so it is unnecessary to identify its type. Derek -Original Message- From: Derek Mahar Sent: May 20, 2004 2:08 PM To: Tag Libraries Users List Subject: RE: [JSTL] How do I enter a null value with sql:param? Thank you. I appreciate your attention and quick response. After reading JDBC

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

2004-05-20 Thread Kris Schneider
Subject: RE: [JSTL] How do I enter a null value with sql:param? Thank you. I appreciate your attention and quick response. After reading JDBC Specification Section 13.2.2.3, Setting NULL Parameters, I understand now why Kris suggested that the JSTL specification add the sqlType

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

2004-05-20 Thread Kris Schneider
. set the selected SQL parameter to NULL)? Have you encountered any serious flaws using this driver? Derek -Original Message- From: Kris Schneider [mailto:[EMAIL PROTECTED] Sent: May 20, 2004 2:57 PM To: Tag Libraries Users List Subject: RE: [JSTL] How do I enter a null value

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

2004-05-20 Thread Derek Mahar
. Thank you again for this jTDS reference! Derek -Original Message- From: Kris Schneider [mailto:[EMAIL PROTECTED] Sent: May 20, 2004 3:21 PM To: Tag Libraries Users List Subject: RE: [JSTL] How do I enter a null value with sql:param? I'm merely aware of its existence. I've never used

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

2004-05-20 Thread Keith
[EMAIL PROTECTED] Sent: Thu, 20 May 2004 16:02:02 -0400 Subject: RE: [JSTL] How do I enter a null value with sql:param? Wow! I just installed the jTDS JDBC driver for Microsoft SQL Server, and it does *not* produce the NULL parameter problem that I encountered using Microsoft's SQL Server JDBC

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

2004-05-19 Thread Derek Mahar
in the implementation of sql:param where it treats null as a string argument rather than as an SQL null argument. Derek -Original Message- From: Kris Schneider [mailto:[EMAIL PROTECTED] Sent: May 18, 2004 9:10 PM To: Tag Libraries Users List Subject: Re: [JSTL] How do I enter a null value

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

2004-05-19 Thread Kris Schneider
: May 18, 2004 9:10 PM To: Tag Libraries Users List Subject: Re: [JSTL] How do I enter a null value with sql:param? sql:param value=${null}/ Derek Mahar wrote: How do I enter a null value into a table column with sql:param? The JSTL 1.1 specification states for sql:param that, If value

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

2004-05-19 Thread Derek Mahar
Correction: the table name should have read tblTest rather than tblTestDerek. -Original Message- From: Derek Mahar Sent: May 19, 2004 9:45 AM To: Tag Libraries Users List Subject: RE: [JSTL] How do I enter a null value with sql:param? Your solution is equivalent to Case 2 that I listed

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 Keith
]/msg06748.html Keith -- Original Message --- From: Wolfgang Röckelein [EMAIL PROTECTED] To: Tag Libraries Users List [EMAIL PROTECTED] Sent: Wed, 19 May 2004 16:05:14 +0200 Subject: Re: [JSTL] How do I enter a null value with sql:param? Derek Mahar wrote: Your solution

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

2004-05-19 Thread Kris Schneider
It certainly could be a driver issue, but you've gotta pass null instead of null to find out ;-). The Standard taglib uses the following to set SQL parameters: PreparedStatement.setObject(int parameterIndex, Object x) It should be pretty easy to write a simple JDBC test to see how your driver

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: [JSTL] How do I enter a null value with sql:param?

2004-05-19 Thread Derek Mahar
Libraries Users List Subject: RE: [JSTL] How do I enter a null value with sql:param? It's really not equivalent. Your Case 2 was: c:set var=nullValue value=null/ Which sets nullValue to the String literal null. I suggested the equivalent of: c:set var=nullValue value=${null}/ Which will set

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

2004-05-19 Thread Derek Mahar
PROTECTED] Sent: May 19, 2004 10:28 AM To: Tag Libraries Users List; [EMAIL PROTECTED] Subject: Re: [JSTL] How do I enter a null value with sql:param? It certainly could be a driver issue, but you've gotta pass null instead of null to find out ;-). The Standard taglib uses the following to set SQL

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

2004-05-19 Thread Derek Mahar
nothing about how it handles a null object reference. Derek -Original Message- From: Keith [mailto:[EMAIL PROTECTED] Sent: May 19, 2004 10:28 AM To: [EMAIL PROTECTED] Subject: Re: [JSTL] How do I enter a null value with sql:param? This was on the Users list and was my problem

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

2004-05-19 Thread Derek Mahar
/[EMAIL PROTECTED]/msg06989.html Derek -Original Message- From: Keith [mailto:[EMAIL PROTECTED] Sent: May 19, 2004 10:28 AM To: [EMAIL PROTECTED] Subject: Re: [JSTL] How do I enter a null value with sql:param? This was on the Users list and was my problem. But mine had to do specifically

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

2004-05-19 Thread Derek Mahar
for pointing me in the right direction and being patient with my posts as I worked through my problem. Derek -Original Message- From: Wolfgang Röckelein [mailto:[EMAIL PROTECTED] Sent: May 19, 2004 10:40 AM To: Tag Libraries Users List Subject: Re: [JSTL] How do I enter a null value

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

2004-05-18 Thread Kris Schneider
sql:param value=${null}/ Derek Mahar wrote: How do I enter a null value into a table column with sql:param? The JSTL 1.1 specification states for sql:param that, If value is null, the parameter is set to the SQL value NULL. However, no matter what value I pass to sql:param, I'm unable to set a

RE: JSTL Formatting Question

2004-05-08 Thread Steve Raeburn
Take a look at DisplayTag (http://www.displaytag.org/example-grouping.jsp). It does grouping and lots of other very cool things with tables. Steve -Original Message- From: Jack Lauman [mailto:[EMAIL PROTECTED] Sent: May 8, 2004 10:27 AM To: Tag Libraries Users List Subject: JSTL

RE: JSTL Formatting Question

2004-05-08 Thread Steve Raeburn
Take a look at DisplayTag (http://www.displaytag.org/example-grouping.jsp). It does grouping and lots of other very cool things with tables. Steve -Original Message- From: Jack Lauman [mailto:[EMAIL PROTECTED] Sent: May 8, 2004 10:27 AM To: Tag Libraries Users List Subject: JSTL

Re: JSTL Formatting Question

2004-05-08 Thread Jack Lauman
Nice.. but it produces html that won't work in older browsers. Thanks, Jack Steve Raeburn wrote: Take a look at DisplayTag (http://www.displaytag.org/example-grouping.jsp). It does grouping and lots of other very cool things with tables. Steve

RE: JSTL Formatting Question

2004-05-08 Thread Steve Raeburn
] Sent: May 8, 2004 3:59 PM To: Tag Libraries Users List Subject: Re: JSTL Formatting Question Nice.. but it produces html that won't work in older browsers. Thanks, Jack Steve Raeburn wrote: Take a look at DisplayTag (http://www.displaytag.org/example-grouping.jsp). It does

Re: JSTL Formatting Question

2004-05-08 Thread Jack Lauman
, 2004 3:59 PM To: Tag Libraries Users List Subject: Re: JSTL Formatting Question Nice.. but it produces html that won't work in older browsers. Thanks, Jack Steve Raeburn wrote: Take a look at DisplayTag (http://www.displaytag.org/example-grouping.jsp). It does grouping and lots of other very

Re: JSTL setup

2004-04-29 Thread Keith
Not sure if I'm understanding your problem correctly, but to use the function tags you need to have a different taglib uri besides the core. %@ taglib prefix=fn uri=http://java.sun.com/jsp/jstl/functions; % Keith -- Original Message --- From: Anuj Agrawal [EMAIL PROTECTED]

Re: JSTL setup

2004-04-29 Thread Kris Schneider
Some additional info: You need both jstl.jar and standard.jar. JSTL 1.1 requires JSP 2.0/Servlet 2.4 - does your version of WSAD support that? You'll also want to make sure your app is using a Servlet 2.4 style web.xml. Quoting Keith [EMAIL PROTECTED]: Not sure if I'm understanding your

Re: JSTL setup

2004-04-29 Thread Anuj Agrawal
Keith - i know about the using the correct uri. Thanks. Kris - my web.xml has !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN http://java.sun.com/dtd/web-app_2_3.dtd; .. doesn't look like my tomcat is compliant, and i'm not sure about WSAD (i have version 5.0.0.2).

Re: JSTL setup

2004-04-29 Thread Kris Schneider
TC5 is compliant, but I'd make sure to get the latest: 5.0.19. This is what I mean by a Servlet 2.4 web.xml: 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/web-app_2_4.xsd;

Re: JSTL setup

2004-04-29 Thread wallace.pei
Try to read the READ ME file in the compressed file that you downloaded for the JSTL 1.1. And read the section on library dependancies. It is recommended that you have Java sdk 1.4.2 OR else you better include the dependancies stated in that READ ME file. Good luck. Wallace From: Anuj

Re: JSTL Tags Vs. JavaBeans

2004-04-12 Thread Keith
for tech_row --% /select br /c:forEach %-- end forEach for chosen_tech --% -- Original Message --- From: Jeff Brewer [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sun, 11 Apr 2004 18:17:05 -0400 Subject: Re: JSTL Tags Vs. JavaBeans Sure. Here's a piece

RE: JSTL Tags Vs. JavaBeans

2004-04-11 Thread Martin Cooper
-Original Message- From: Jeff Brewer [mailto:[EMAIL PROTECTED] Sent: Sunday, April 11, 2004 11:27 AM To: [EMAIL PROTECTED] Subject: JSTL Tags Vs. JavaBeans In the process of trying to get my site up and running I came across a page that I'd written a year ago (not a big

RE: JSTL Tags Vs. JavaBeans

2004-04-11 Thread Xephyrus
What's the current State of the (JSP) Art with respect to JSTL vs. JavaBeans? Is one preferred over the other? I'm not sure what you mean. JSTL can use and manipulate JavaBeans - they're complimentary technologies, rather than alternatives. Perhaps if you could describe a little about what

Re: JSTL Tags Vs. JavaBeans

2004-04-11 Thread Jeff Brewer
//td /tr - Original Message - From: Martin Cooper [EMAIL PROTECTED] To: Tag Libraries Users List [EMAIL PROTECTED] Sent: Sunday, April 11, 2004 2:43 PM Subject: RE: JSTL Tags Vs. JavaBeans -Original Message- From: Jeff Brewer [mailto:[EMAIL PROTECTED] Sent: Sunday

Re: jstl output

2004-04-10 Thread Lorenzo Sicilia
Martin Cooper wrote: Depending on your usage, you might be able to put a whitespace-stripping filter in front of your JSP pages, to collapse all this down. I think this it's the best solution. I search some thing like that. tks Martin your help it is very appreciate :) regards Lorenzo

RE: jstl output

2004-04-09 Thread Martin Cooper
Depending on your usage, you might be able to put a whitespace-stripping filter in front of your JSP pages, to collapse all this down. Alternatively, you could adopt the funky JSP coding style I've seen some people use, ensuring that you don't have whitespace between your tags. So instead of

RE: JSTL Function Library

2004-04-07 Thread Kris Schneider
much success with setting up JSTL and consider it a miracle that I got any part of it to work. -Original Message- From: Kris Schneider [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 06, 2004 12:20 PM To: Tag Libraries Users List Subject: RE: JSTL Function Library There's really

RE: JSTL Function Library

2004-04-07 Thread nrapagnani
The test worked. My original jsp pages still have the same problem. I should be able to figure it out. Thanks a lot. -Original Message- From: Kris Schneider [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 07, 2004 7:47 AM To: Tag Libraries Users List Subject: RE: JSTL Function Library

Re: JSTL Function Library

2004-04-06 Thread Kris Schneider
Make sure you're using JSTL 1.1. %@ taglib prefix=c uri=http://java.sun.com/jsp/jstl/core; % %@ taglib prefix=fn uri=http://java.sun.com/jsp/jstl/functions; % Functions are really part of the EL, so use them within an EL expression: ${fn:trim(row.user_id)} Quoting [EMAIL PROTECTED]: I am

RE: JSTL Function Library

2004-04-06 Thread nrapagnani
ideas why? -Original Message- From: Kris Schneider [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 06, 2004 11:16 AM To: Tag Libraries Users List Subject: Re: JSTL Function Library Make sure you're using JSTL 1.1. %@ taglib prefix=c uri=http://java.sun.com/jsp/jstl/core; % %@ taglib

RE: JSTL Function Library

2004-04-06 Thread Kris Schneider
as expected. Any ideas why? -Original Message- From: Kris Schneider [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 06, 2004 11:16 AM To: Tag Libraries Users List Subject: Re: JSTL Function Library Make sure you're using JSTL 1.1. %@ taglib prefix=c uri=http://java.sun.com/jsp/jstl

RE: JSTL Function Library

2004-04-06 Thread nrapagnani
how to prepare my server for JSTL 1.1? -Original Message- From: Kris Schneider [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 06, 2004 11:36 AM To: Tag Libraries Users List Subject: RE: JSTL Function Library Make sure you're also using a Servlet 2.4 web.xml: web-app xmlns=http

RE: JSTL Function Library

2004-04-06 Thread Kris Schneider
Message- From: Kris Schneider [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 06, 2004 11:36 AM To: Tag Libraries Users List Subject: RE: JSTL Function Library Make sure you're also using a Servlet 2.4 web.xml: web-app xmlns=http://java.sun.com/xml/ns/j2ee; xmlns:xsi=http

RE: JSTL Function Library

2004-04-06 Thread nrapagnani
To: Tag Libraries Users List Subject: RE: JSTL Function Library There's really nothing you need to do to the server*, just make sure it supports JSP 2.0. You appear to be using Tomcat 5, so you should be fine (you might want to make sure you've got the latest version: 5.0.19). As for your app, all

Re: jstl read raw data

2004-04-02 Thread Lorenzo Sicilia
Martin Cooper wrote: Since what you want to read is XML, you can do this as long as you actually want to parse the XML as well. Try this: x:parse var=parsedXml xml=${pageContext.request.reader}/ Great! It work fine! many thanks :) I love Jstl. Usefull, Powerfull and easy. Regards Lorenzo

RE: jstl read raw data

2004-04-01 Thread Martin Cooper
-Original Message- From: Lorenzo Sicilia [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 31, 2004 6:17 AM To: Tag Libraries Users List Subject: jstl read raw data hi list, I need read some xml data in post. I have found some example in jsp that show raw data post:

RE: JSTL 1.1 jaxp problem (under tomcat 5.0.19/java 1.4.2_03)

2004-03-16 Thread Johnson, Chris
. Thanks again, Chris -Original Message- From: Kris Schneider [mailto:[EMAIL PROTECTED] Sent: Monday, March 15, 2004 3:37 PM To: Tag Libraries Users List Subject: RE: JSTL 1.1 jaxp problem (under tomcat 5.0.19/java 1.4.2_03) Try adding -Dorg.apache.xml.dtm.DTMManager

Re: JSTL 1.1 jaxp problem (under tomcat 5.0.19/java 1.4.2_03)

2004-03-16 Thread Pierre Delisle
do I know? Any help you can get me in escalating this would be much appreciated. Thanks again, Chris -Original Message- From: Kris Schneider [mailto:[EMAIL PROTECTED] Sent: Monday, March 15, 2004 3:37 PM To: Tag Libraries Users List Subject: RE: JSTL 1.1 jaxp problem (under tomcat 5.0.19

RE: JSTL 1.1 jaxp problem (under tomcat 5.0.19/java 1.4.2_03)

2004-03-16 Thread Johnson, Chris
Thanks for all of the help so far. I submitted bug 27717. Chris -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 16, 2004 10:58 AM To: Tag Libraries Users List Subject: Re: JSTL 1.1 jaxp problem (under tomcat 5.0.19/java 1.4.2_03) Yes, as Kris

Re: JSTL 1.1 jaxp problem (under tomcat 5.0.19/java 1.4.2_03)

2004-03-15 Thread Kris Schneider
Interesting. x:forEach has been tagged as a performance problem before for JSTL 1.1, but without the accompanying truss info. The XPath engine for JSTL was changed from Jaxen/SAXPath in 1.0 to Xalan in 1.1. If you can replace x:forEach with x:transform and an XSLT stylesheet, that seemed to help

RE: JSTL 1.1 jaxp problem (under tomcat 5.0.19/java 1.4.2_03)

2004-03-15 Thread Johnson, Chris
, 2004 2:32 PM To: Tag Libraries Users List Subject: Re: JSTL 1.1 jaxp problem (under tomcat 5.0.19/java 1.4.2_03) Interesting. x:forEach has been tagged as a performance problem before for JSTL 1.1, but without the accompanying truss info. The XPath engine for JSTL was changed from Jaxen/SAXPath

Re: JSTL fmt:formatDate bug ???

2004-02-26 Thread Pierre Delisle
But would this work? fmt_rt:formatDate value=${row.TIME} timeZone=%= Constants.TIMEZONE % pattern=dd-MM- 'at' HH:mm/ I'm using both rt and EL in the same tag ? No. It is one or the other. Cannot mix within the same action. However, you can mix both EL-

RE: JSTL fmt:formatDate bug ???

2004-02-25 Thread Martin van Dijken
PROTECTED] Sent: woensdag 25 februari 2004 8:18 To: Tag Libraries Users List Subject: RE: JSTL fmt:formatDate bug ??? Could you post the code to manually format the date? I can easily compare that to what is being done by the JSTL implementation and give you some feedback

RE: JSTL fmt:formatDate bug ???

2004-02-25 Thread Riaan Oberholzer
a SimpleDateFormat with a pattern as argument. JSTL uses the constructor with a Locale as additional parameter. Grtz, Martin -Original Message- From: Riaan Oberholzer [mailto:[EMAIL PROTECTED] Sent: woensdag 25 februari 2004 8:18 To: Tag Libraries Users List Subject: RE: JSTL

RE: JSTL fmt:formatDate bug ???

2004-02-25 Thread Martin van Dijken
confusing and illogical to work with, but that's just my personal frustration. Martin -Original Message- From: Riaan Oberholzer [mailto:[EMAIL PROTECTED] Sent: woensdag 25 februari 2004 10:48 To: Tag Libraries Users List Subject: RE: JSTL fmt:formatDate bug ??? I'm a bit lost here

RE: JSTL fmt:formatDate bug ???

2004-02-25 Thread Riaan Oberholzer
List Subject: RE: JSTL fmt:formatDate bug ??? I'm a bit lost here can you give me an example of what I should give to jstl to print the time as Europe/London ? Thanks Charl --- Martin van Dijken [EMAIL PROTECTED] wrote: Hey Riaan, Try fiddling around

RE: JSTL fmt:formatDate bug ???

2004-02-25 Thread SREEKANT Rajan
... please help me to resolve the above problem with some Examples. R.Sreekant -Original Message- From: Martin van Dijken [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 25, 2004 4:39 PM To: 'Tag Libraries Users List' Subject: RE: JSTL fmt:formatDate bug ??? Try

RE: JSTL fmt:formatDate bug ???

2004-02-25 Thread Martin van Dijken
12:17 To: Tag Libraries Users List Subject: RE: JSTL fmt:formatDate bug ??? fmt:setLocale value=nl_NL/ fmt:formatDate value=${obj} timeZone=Europe/London type=time/ I want to keep the language english... possible? IE, say that we are in The Netherlands, but work in English

Re: JSTL fmt:formatDate bug ???

2004-02-25 Thread Adam Hardy
On 02/25/2004 12:16 PM Riaan Oberholzer wrote: fmt:setLocale value=nl_NL/ fmt:formatDate value=${obj} timeZone=Europe/London type=time/ I want to keep the language english... possible? IE, say that we are in The Netherlands, but work in English ... otherwise it will try to locate Dutch resource

Re: JSTL fmt:formatDate bug ???

2004-02-25 Thread Riaan Oberholzer
I know that in fmt:message there is a deficiency which means that date formatting of parameters to the message does not happen. I'm using the latest version, 1.0.5, released on January 27 pretty much up to date. Don't worry about not having Dutch resource bundles. OK, good to hear

RE: JSTL fmt:formatDate bug ???

2004-02-25 Thread Riaan Oberholzer
[mailto:[EMAIL PROTECTED] Sent: woensdag 25 februari 2004 10:48 To: Tag Libraries Users List Subject: RE: JSTL fmt:formatDate bug ??? I'm a bit lost here can you give me an example of what I should give to jstl to print the time as Europe/London ? Thanks Charl

RE: JSTL fmt:formatDate bug ???

2004-02-25 Thread Riaan Oberholzer
Locale business very confusing and illogical to work with, but that's just my personal frustration. Martin -Original Message- From: Riaan Oberholzer [mailto:[EMAIL PROTECTED] Sent: woensdag 25 februari 2004 10:48 To: Tag Libraries Users List Subject: RE: JSTL

RE: JSTL fmt:formatDate bug ???

2004-02-25 Thread Riaan Oberholzer
PROTECTED] Sent: woensdag 25 februari 2004 10:48 To: Tag Libraries Users List Subject: RE: JSTL fmt:formatDate bug ??? I'm a bit lost here can you give me an example of what I should give to jstl to print the time as Europe/London ? Thanks Charl --- Martin

Re: JSTL fmt:formatDate bug ???

2004-02-25 Thread Pierre Delisle
List Subject: RE: JSTL fmt:formatDate bug ??? I'm a bit lost here can you give me an example of what I should give to jstl to print the time as Europe/London ? Thanks Charl --- Martin van Dijken [EMAIL PROTECTED] wrote: Hey Riaan, Try fiddling around with setting the locale in JSTL

Re: JSTL fmt:formatDate bug ???

2004-02-25 Thread Riaan Oberholzer
-Original Message- From: Riaan Oberholzer [mailto:[EMAIL PROTECTED] Sent: woensdag 25 februari 2004 10:48 To: Tag Libraries Users List Subject: RE: JSTL fmt:formatDate bug ??? I'm a bit lost here can you give me an example of what I should give to jstl to print

Re: JSTL tlds

2004-02-24 Thread Kris Schneider
Remove the JAR files from any place other than WEB-INF/lib (e.g. the JBoss lib directory). The URI in the error message (http://java.sun.com/jsp/jstl/fmt) is for JSTL 1.1. Are you using a version of JB with JSP 2.0 support? If not, you need to use JSTL 1.0. In which case the URI would be

Re: JSTL tlds

2004-02-24 Thread Adam Hardy
OK got rid of the jars. The only place they now occur is in the war file's WEB-INF/lib directory. This is the tomcat5 SAR in JBoss. It's been working fine in the tomcat5 stand-alone. Now in JBoss, it complains. How does tomcat know where to find the tlds normally? Obviously something in its

Re: JSTL tlds

2004-02-24 Thread Kris Schneider
Are you sure you've got the JSTL 1.1 JAR files installed and not 1.0? This seems like such a basic feature, it'd be pretty lame if JB is somehow messing it up. As for how TC 5 normally locates TLD files, the gory details are in sections JSP.7.2 and JSP.7.3 of the JSP 2.0 Spec. Quoting Adam Hardy

RE: jstl editor

2004-02-24 Thread Martin van Dijken
Hey Lorenzo, Check out Lomboz or MyEclipse for JSP Eclipse plugins. Lomboz is open source and therefore free, but I've found it to be slightly buggy. MyEclipse (www.myeclipseide.org) costs $30 and is far more stable. There are other options, check them at www.eclipse-plugins.info Good luck,

Re: JSTL tlds

2004-02-24 Thread Adam Hardy
This is part of the manifest from the standard.jar Specification-Version: 1.1 Implementation-Title: jakarta-taglibs 'standard': an implementation of JSTL Implementation-Version: 1.1.0 Implementation-Vendor: Apache Software Foundation Implementation-Vendor-Id: org.apache Extension-Name:

Re: jstl editor

2004-02-24 Thread Lorenzo Sicilia
Martin van Dijken wrote: Hey Lorenzo, Check out Lomboz or MyEclipse for JSP Eclipse plugins. Lomboz is open source and therefore free, but I've found it to be slightly buggy. MyEclipse (www.myeclipseide.org) costs $30 and is far more stable. There are other options, check them at

RE: jstl editor

2004-02-24 Thread Martin van Dijken
the available tags or the available attributes of the current tag. Excellent stuff Martin -Original Message- From: Lorenzo Sicilia [mailto:[EMAIL PROTECTED] Sent: dinsdag 24 februari 2004 15:30 To: Tag Libraries Users List Subject: Re: jstl editor Martin van Dijken wrote: Hey

Re: jstl editor

2004-02-24 Thread Lorenzo Sicilia
Martin van Dijken wrote: In Myeclipse version 2.7 there is code completion support for taglibs in general. If you include the JSTL taglibrary in your project and use a %@ taglib referring to it, all tags that follow it are syntax colored according to the tld. Also, when you use the key to start

RE: JSTL fmt:formatDate bug ???

2004-02-24 Thread Martin van Dijken
Hey Riaan, Could you post the code to manually format the date? I can easily compare that to what is being done by the JSTL implementation and give you some feedback on that. Grtz, Martin PS Thanks for hosting your application in our fine little country:) -Original Message- From:

RE: JSTL fmt:formatDate bug ???

2004-02-24 Thread Riaan Oberholzer
Could you post the code to manually format the date? I can easily compare that to what is being done by the JSTL implementation and give you some feedback on that. Something to the extend of: static { SimpleDateFormatter sdf = new SimpleDateFormatter(-MM-dd HH:mm);

Re: JSTL browser-based locale determination

2004-02-23 Thread rick
Thanks, I'll check that out today. It may not work, as I dumped all the session attributes but didn't find anything except for the request charset being set. Rick DeBay On Fri, 20 Feb 2004 20:05 , Vernon Wu [EMAIL PROTECTED] sent: This shall help you out. javax.servlet.jsp.jstl.core.Config

Re: JSTL browser-based locale determination

2004-02-23 Thread rick
Right, you can set the FMT_LOCALE attribute and JSTL will use it. My problem is determining what Locale JSTL decided to use after parsing the Accept-Language header. I may have to do it in the JSP after the first call to fmt:message, and check the Locale that was set on the response: fmt:message

Re: JSTL browser-based locale determination

2004-02-23 Thread Vernon Wu
If I understand your question correctly, you want to determinate which locale will be used based on the accept-language list. The question comes down to how you wish your application to behave in the regard. I know the answer for the designed behavior. (An article on this subject was published

Re: JSTL browser-based locale determination

2004-02-20 Thread Kris Schneider
It's plausible that a client may want to change their locale between requests, so it wouldn't make much sense for JSTL to freeze it. Are you asking how to find out which locale JSTL actually chooses for browser-based locale setting? I don't think there's a convenient way to do that, but you can

<    1   2   3   4   5   6   >