Re: attributes..

2003-07-29 Thread James Smith
Oops! That example I sent was supposed to have a To: <[EMAIL PROTECTED]> Sent: Monday, July 28, 2003 8:31 PM Subject: X: attributes.. I'm trying to use the value of an xml attribute in calculations later on in the page. Perhaps I'm mistaken, but given the following xml: and t

Re: attributes..

2003-07-29 Thread James Smith
How about: SELECT * FROM orders WHERE date = ? James Smith Application Systems Analyst, Treistman Center College of Fine Arts, University of Arizona - Original Message - From: "Rick Ross" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday,

Re: Preserving Line Breaks in

2003-07-16 Thread James Smith
When I did this, I used option #1. I kind of extended a controller tag I had already built to do the work of replacing the "\n"s with ""s and so on. James Smith Application Systems Analyst, Treistman Center College of Fine Arts, University of Arizona - Original Message

Re: Stored procedure (RFI proposal)

2003-07-14 Thread James Smith
r to unit test a bean (with DAO, such as > > iBatis.com) in > > > > an MVC way. > > > > Then you can reuse you bean for Soap, etc., not > > just JSP and > > > > keep your > > > > JSP code clean. > > > > > > > > > > > >

Re: Stored procedure (RFI proposal)

2003-07-02 Thread James Smith
ltiple SQL statements or call a stored proc using a JSTL dataSource. Since I haven't looked at the source code for the standard taglibs under Tomcat 5-alpha, I don't know if this idea would still be compatible with the newer code, but if it is, I think it would be useful. Just an idea!

Re: Evaluating BodyContent

2003-03-21 Thread James Smith
I am using Tomcat 4.1.18 right now, so for the time being I'll just send null for the attribute variables into the ExpressionEvaluatorManager. Thanks Shawn and Tim (and the taglibs-user community), James Smith Developer, Treistman Center College of Fine Arts, University of Arizona - Ori

Evaluating BodyContent

2003-03-21 Thread James Smith
If so, how? If not, will this issue be resolved in JSP 2.0? Thanks much, James Smith Developer, Treistman Center College of Fine Arts, University of Arizona - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-ma

Re: CLOBS and the EL

2002-12-17 Thread James Smith
tring(Object clob) throws SQLException { > if (clob != null && clob instanceof Clob) { > long length = ((Clob)clob).length(); > return ((Clob)clob).getSubString(1, (int)length); > } > else { > return null; > } > } > > > I don

CLOBS and the EL

2002-12-13 Thread James Smith
Hello. I'm using the Jakarta JSTL tags (1.0.2) within Tomcat 4.1.12, with JDK 1.4.0 on a Windows platform. I'm using the SQL tags to get large text fields from an Oracle database and Oracle sends back those fields as CLOBs, not as strings. When putting the data into the pageContext, the EL decid