which xml parser/transformer does jakarta jstl use?

2002-11-13 Thread Andreas Schildbach
hello out there, can anyone tell me which xml parser and xml transformer does the jakarta implementation of jstl use for its xml-related-tags? and if it uses a specific one, how can i change it (to xerces 2.2.0)? regards, andreas -- To unsubscribe, e-mail:

RE: struts issues for multiple action and taglib

2002-11-13 Thread Karr, David
First of all, you're better off asking questions about Struts on the struts-user list. Your first issue: You've mostly answered your own question. The automatic handling of form beans, both in and out of pages, is a very powerful tool. Your second issue: There are several ways to handle

Srollable result rows

2002-11-13 Thread Xose Ramon Sousa Vazquez
I was developing a web application and i am using dbTags. Is there any way to take only some rows from a query without pass it manually. I am talking about something like a scrollable query sql:resultSet scroll=yes maxrows=20. Thanks Xosé Ramón Sousa Vázquez Optare Solutions S.L. [EMAIL

Having trouble using datetime taglib to format a date

2002-11-13 Thread Jeff Self
I've got a JSP page that is retrieving information from a PostgreSQL database. One of the fields is a datefield. Here's the code to what I'm displaying: while (rs.next()) { % tr td%= rs.getString(position_code) %/td td%= rs.getString(effective_date) %/td /tr When it displays, the date shows

Re: Having trouble using datetime taglib to format a date

2002-11-13 Thread Kris Schneider
I've never used that taglib, but ResultSet.getString returns a String, not a Date. Try ResultSet.getDate. Quoting Jeff Self [EMAIL PROTECTED]: I've got a JSP page that is retrieving information from a PostgreSQL database. One of the fields is a datefield. Here's the code to what I'm

Re: Having trouble using datetime taglib to format a date

2002-11-13 Thread Kris Schneider
One more thing ;-). If you really have to do your DB access and processing from within a JSP, you should check out an implementation of JSTL (like the Jakarta Standard Taglib). It requires a JSP 1.2 container. It also includes formatting actions... Quoting Kris Schneider [EMAIL PROTECTED]:

Whitespace generated by JSTL tags

2002-11-13 Thread Corby Jacobs
I am investigating an issue with a JSP page which, under certain circumstances, generates a 22.4 MB file to send back to the client. Turns out, a substantial portion of this page is whitespace. As I see it, the whitespace is coming from two places: 1) whitespace the developer added to make

Re: Whitespace generated by JSTL tags

2002-11-13 Thread Henri Yandell
really stupid answer but you could try wrapping it all in a string taglib which search and replaced for whitespace :) Hen On Wed, 13 Nov 2002, Corby Jacobs wrote: I am investigating an issue with a JSP page which, under certain circumstances, generates a 22.4 MB file to send back to the

Re: Whitespace generated by JSTL tags

2002-11-13 Thread Stefan
Hi, I too noticed the white space issue. Though it is not in the scale that you described, it is a problem. It has to be addressed as this will certainly be the source of page bloat for unsuspecting people. As a temp fix try using Gzip compression on the pages. This is the sort of thing that I

Re: Whitespace generated by JSTL tags

2002-11-13 Thread Hans Bergsten
Corby Jacobs wrote: I am investigating an issue with a JSP page which, under certain circumstances, generates a 22.4 MB file to send back to the client. Turns out, a substantial portion of this page is whitespace. As I see it, the whitespace is coming from two places: 1) whitespace the

Re: Having trouble using datetime taglib to format a date

2002-11-13 Thread Glenn Nielsen
First you need to parse the date returned from sql, then format it. Something like this might work: dt:format pattern=MM-dd- dt:parse pattern=-MM-dd%=rs.getString(effective_date)%/dt:parse /dt:format Also the case of the format characters makes a difference. In this case you need a

namespaces in x:parse

2002-11-13 Thread Gisella Saavedra
Hello, can anyone offer any help on what follows: I have the following file, colors.xsl, which I read as xml input although it is a stylesheet: xsl:stylesheet version=1.0 xmlns:xsl=http://www.w3.org/1999/XSL/Transform; xsl:variable name=dark select='#99'ciao/xsl:variable xsl:variable

page context

2002-11-13 Thread Manoj, Mathew
Hi I am new to Struts.Can anyone please tell me what is page context.and what is the difference between page context and user context. My wesite has 8 pages and all the links are in the header.All jsps.and i am trying to implement it in struts.So when user click on any link,I need to know from

RE: page context

2002-11-13 Thread Karr, David
First of all, if you want to ask questions about Struts, ask them on the struts-user list. You'll get better answers. I don't know what you mean by user context, so I can't compare them. Note that when using Struts, a good practice is to have all links go to Actions, not directly to JSP

ApacheCon US 2002

2002-11-13 Thread Pierre Delisle
I will be at ApacheCon next week in Las Vegas. Besides providing great technical sessions and bofs, ApacheCon is a great opportunity to meet members of our community. So if you are going to be there, please let me know. I'd like to organize a small gathering if there is interest within the

Re: namespaces in x:parse

2002-11-13 Thread matsuhashi
Hi, In the last Oct - Nov time, I posted an issue to this Taglib User List, which is very similar to your problem. The title of my initial post was Does JSTL XML taglibs ignore XMLNamespace of input document?(later I found this title was incorrect, not forcusing my problem precisely) dated at 09

RE: namespaces in x:parse

2002-11-13 Thread Gisella Saavedra
thanks a lot Pierre and arigato, Matsuhashi-san for the answers!! It's been very helpful. Yes, I also wish, like many of us, that these needed changes in XPath and JSTL will be available soon, Gisella -Original Message- From: [EMAIL PROTECTED] [mailto:matsuhashi;quick.co.jp] Sent:

Re: ApacheCon US 2002

2002-11-13 Thread sabreware
Pas perdu ta chemise! 8-] david On Wed, 13 Nov 2002 17:21:30 -0800 Pierre Delisle [EMAIL PROTECTED] wrote: I will be at ApacheCon next week in Las Vegas. Besides providing great technical sessions and bofs, ApacheCon is a great opportunity to meet members of our community. So if you

RE: page context

2002-11-13 Thread Zhao Cheng
Did you try to use: request.getHeader(Referer) to get where they came from? At 04:02 PM 11/13/2002 -0800, Karr, David wrote: First of all, if you want to ask questions about Struts, ask them on the struts-user list. You'll get better answers. I don't know what you mean by user

RE: namespaces in x:parse

2002-11-13 Thread matsuhashi
Rather than this x:registerNamespace prefix=xsl uri =http://www.w3.org/1999/XSL/Transform; scope=.../ !-- registerNamespace tag is NOT defined in the JSTL1.0 specification !!! -- following name might look more familiar to anybody; no explanation needed. x:xmlns prefix=...