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
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,
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
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.
> > > >
> > > >
> > > >
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!
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
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
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
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