If you use the form, does the tag in some
way optimize to use a bind variable and a prepared statement?
It seems this could be done. I'll also check the source.
Thanks
Roy
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For addi
My 2 cents:
Although static methods are valid code applied to instances of
the class; this is a matter of parsing and code generation.
Static methods are logically methods of that instance's
class object.
In either case Java's reflecton mechanism doesn't seem to
provide API access to invoking a
gt;
> 1). Add the following to web.xml to define the default datasource for JSTL:
>
>
> javax.servlet.jsp.jstl.sql.dataSource
> jdbc/EmployeeAppDb
>
>
> 2). Use the "dataSource" attribute with , , or
> :
>
>
>
> Quoting Roy Benjamin &l
//jakarta.apache.org/tomcat/tomcat-5.0-doc/jndi-datasource-examples-how
> to.html
>
> Also, you may want to check the JSTL spec -- it has a fair amount of info on
> accessing data sources.
>
> Bill Siggelkow
> [EMAIL PROTECTED]
>
>
> -Original Message-
>
I think I'm having some trouble with JDBC
access via JSTL. I'm uncertain, but performance
seems very sporadic and may relate to connection
overhead and resource exhaustion.
Now, I only see one form for the sql:dataSource tag
and it seems not to allow for any connection
management or tuning.
the content of your page. I'm not 100% certain but there were
> some issues with setting the charset of the response. Check the list
> archives to see if you can come up with something.
>
> Martin
>
> -Oorspronkelijk bericht-
> Van: Roy Benjamin [mailto:[EMAIL PROTE
the browser will simply assume a charset by
> looking at the content of your page. I'm not 100% certain but there were
> some issues with setting the charset of the response. Check the list
> archives to see if you can come up with something.
>
> Martin
>
> -Oorspron
Perviously I wrote about using date fmt.
I started using this construct to format results
comming back from Oracle.
I have Japanese in parts of this page. It displays
fine if I do not use JSTL
Otherwise it prints only as .
Looking at the page source, it looks like the
is outputing ?
> update the scoped var it *won't* be reflected in the value of the scripting
> var. In other words, doing this:
>
>
>
> : <%= foo %>
>
> : <%= foo %>
>
> Will output:
>
> bar : bar
> baz : bar
>
> What specific problems are you ha
I have a function to format a date; takes and returns
a String. There are two possible places where this may be
used, one for on-line display, the other when downloading
the data. construct.
This works for the on-line option:
but only if I use a different bean for the off-line option..
ty or not, you can use ${not empty map}. If you
> really need the size of the map, you could try the Unstandard taglib:
>
> http://jakarta.apache.org/taglibs/sandbox/doc/unstandard-doc/intro.html
>
> Or do something like create a wrapper bean for collections that exposes a "s
I am displaying the values in a TreeMap using forEach tag.
However, I only want to do this if the map is not empty.
I also need to display the count of entries in the map at
the top of the page.
In TreeMap, size/size() is not a Bean Property (no?) so I tried
in-line subclassing to expose the prope
I develop on SuSE linux only, so may bias my choices.
I've been using Netbeans for years, primarily for Java
server, networking, and Swing development.. last couple
of years doing all jsp development though.
Netbeans 3.5 -> Ok, but with some nearly fatal flaws.
Netbeans 3.6 -> A Beta, I'm using
Not sure if this is helpful, but I'd be very reluctant
to adopt a 'replace all methods' approach. Event if it
were to work, you probably have not actually found the
problem.
The first thing I would do is to grab another copy
(download) of Tomcat and untar it into a temp directory.
Then I'd check t
t" uri="http://java.sun.com/jstl/core_rt"; %>
>
> Quoting Roy Benjamin <[EMAIL PROTECTED]>:
>
> > I'm using:
> >
> > Java SDK 1.4.2_03,
> > Java J2EE 1.4
> > jakarta-taglibs-standard-1.0.5
> > jakarta-tomc
I'm using:
Java SDK 1.4.2_03,
Java J2EE 1.4
jakarta-taglibs-standard-1.0.5
jakarta-tomcat-4.1.30
I've had no trouble using the core, sql, and fmt tags in my JSPs.
***All I did was to drop jstl.jar and standard.jar into my WEB-INF
directory and add the proper direc
16 matches
Mail list logo