Libraries misunderstanding

2002-04-01 Thread RAYMOND Romain
Hello, I use TC 4.0.3, my web app used XML parser and transformer (throught the XML Jakarta project FOP). On JSP which are "only" using JSTL I have an XML tranformer Exception, so I have to put xalan.jar in my TC/common/lib. I do not understand why putting this jar file in my web app WEB-INF/li

RE: EL

2002-04-01 Thread Yuri Peter Kazakov
Thank you, I understand. Maybe a stupid question, but why Java is not used as EL? Is not it possible to just generate JSP script in the page with minor substitution of variable names to pageContext.getAttribute() calls? Sorry I am not very professional in this area yet, so just a question. Best

Question on processing forms with dynamic field names using taglibs

2002-04-01 Thread Lev Pelekh
Hello everyone, I am new, so the usual preemptive apologies are in order. I am attempting to process a form in which I am constructing field names at runtime. I can't seem to be able to do that with any of Jakarta Taglibs without resorting to scriplets. Request taglib seems to have no capability

RE: jstl sql dataSource configuration help

2002-04-01 Thread James Hazel
Thanks Shawn, That is apparently not it. I now get a null pointer exception in the call to doStartTag(). There is a call just above that ".setParent(null)" so that may be an indication that my configuration is not quite right. The last call recorded in my log is 'getConnection()' so that seems

Problems installing UltraDev extension

2002-04-01 Thread Phil Duhs
I have been using the UltraDev 4.0 Custom Tag Library Extension with a standalone instance of Tomcat but when I try to use UltraDev while I have an instance of Tomcat running that was started by Jbuilder 6 the Java SecurityManager is enabled and I get a stack trace from Tomcat instead of the list

[OFF-TOPIC] Re: jstl sql dataSource configuration help

2002-04-01 Thread Dave Newton
On Monday 01 April 2002 04:45 pm, James Hazel wrote: > I am a student taking a class in JSP's and my current project is to use the > jstl in a web-app tied into a database. I believe the problem I am having > derives from getting a datasource. When I was a kid I took Fortran (and Prime assembly!

Re: jstl sql dataSource configuration help

2002-04-01 Thread Shawn Bayern
On Mon, 1 Apr 2002, James Hazel wrote: > my jsp code is: > >SELECT * FROM articles > > > > > I configured the dataSource as a class implementing the javax.sql.DataSource > interface and use it in other places to create the database, but the above > query always returns as if the

jstl sql dataSource configuration help

2002-04-01 Thread James Hazel
Hi. I am a student taking a class in JSP's and my current project is to use the jstl in a web-app tied into a database. I believe the problem I am having derives from getting a datasource. my jsp code is: SELECT * FROM articles I configured the dataSource as a class implementing the javax.s

Re: [Fwd: Returned mail: Service unavailable]

2002-04-01 Thread Shawn Bayern
Helen wrote: > Hi Shawn. > > Thanks for your help! You are right, indeed, the column names are > lower case in the database, however, when I use to conduct > result set, it converts them to upper case, that's why the > expression failed to find column values. This is a new bug > in beta 1. I

Re: plans for include

2002-04-01 Thread peter lin
thanks for reminding. I totally forgot about that. peter Shawn Bayern wrote: > > On Mon, 1 Apr 2002, peter lin wrote: > > > Does anyone know if there are plans to improve jsp:include or create a > > new include in jstl? > > Yes, JSTL introduces , which (as I think I say in my book) you >

Re: plans for include

2002-04-01 Thread Shawn Bayern
On Mon, 1 Apr 2002, peter lin wrote: > Does anyone know if there are plans to improve jsp:include or create a > new include in jstl? Yes, JSTL introduces , which (as I think I say in my book) you can think of as ": the next generation". :-) -- Shawn Bayern Author, "JSP Standard Tag Library"

RE: JSTL Date Format Question

2002-04-01 Thread Shawn Bayern
On Mon, 1 Apr 2002, Zvolensky, Thomas J {PDBI~Nutley} wrote: > This is unfortunate as I need to return one record per user per date in my > query, necessitating the DATE_FORMAT() function in my select. Oh, I was just thinking that you could use the argument to DATE_FORMAT() instead of the functi

plans for include

2002-04-01 Thread peter lin
Does anyone know if there are plans to improve jsp:include or create a new include in jstl? The reason I ask is because will only take simple strings. it would be nice if one could dynamically build the appropriate include path/filename and pass it to the include. this way, it would reduce th

RE: JSTL Date Format Question

2002-04-01 Thread Zvolensky, Thomas J {PDBI~Nutley}
This is unfortunate as I need to return one record per user per date in my query, necessitating the DATE_FORMAT( ) function in my select. I'm using MYSQL as a temporary development platform until a specific ORACLE server becomes available. Do you think that the proper date will be displayed unde

RE: JSTL Date Format Question

2002-04-01 Thread Shawn Bayern
On Mon, 1 Apr 2002, Henri Yandell wrote: > > Okay, I looked at the JDBC driver's code. It returns a byte[] in cases > > where the underlying object is java.sql.Types.LONGVARBINARY. For some > > reason, then, it looks like MySQL is returning a LONGVARBINARY column for > > the one you're labeling

RE: JSTL Date Format Question

2002-04-01 Thread Henri Yandell
On Mon, 1 Apr 2002, Shawn Bayern wrote: > Okay, I looked at the JDBC driver's code. It returns a byte[] in cases > where the underlying object is java.sql.Types.LONGVARBINARY. For some > reason, then, it looks like MySQL is returning a LONGVARBINARY column for > the one you're labeling "Date"

RE: JSTL Date Format Question

2002-04-01 Thread Shawn Bayern
Okay, I looked at the JDBC driver's code. It returns a byte[] in cases where the underlying object is java.sql.Types.LONGVARBINARY. For some reason, then, it looks like MySQL is returning a LONGVARBINARY column for the one you're labeling "Date". This might be because the DATE_FORMAT function r

RE: JSTL Date Format Question

2002-04-01 Thread Zvolensky, Thomas J {PDBI~Nutley}
produced a blank for the date column. My JDBC driver is mm.mysql-2.0.11-bin.jar which can be downloaded from http://prdownloads.sourceforge.net/mmmysql/mm.mysql-2.0.11-you-must-unjar-me .jar Regards. -Original Message- From: Shawn Bayern [mailto:[EMAIL PROTECTED]] Sent: Monday, April 0

Re: JSTL Date Format Question

2002-04-01 Thread Shawn Bayern
A variable that prints a string starting with "[B" is likely a primitive byte array (byte[]). This means that the MYSQL JDBC driver you're using is probably returning a byte[] for the column aliased "Date" when it's retrieved using ResultSet.getObject(). You could add to the loop just to be

RE: Size of a collection?

2002-04-01 Thread Biske, Todd
I think it would be. We had the situation where we had two lists that were being displayed using a single HTML table, with the first two columns being for list one, and the last two columns being for list two. Each row contains one list item. When the lists were of unequal size, empty cells wou

JSTL Date Format Question

2002-04-01 Thread Zvolensky, Thomas J {PDBI~Nutley}
I have a query that selects records from a datetime column using the JSTL and MYSQL. When I output the rows to a JSP page I'm getting the following: Anderau, Eoma BASEL [B@b6421 Andersson, Lisa BASEL [B@5acb2b [B@5092c0