Re: accessing multiple select params

2003-06-11 Thread Carole E. Mah
- - Original Message - From: "Carole E. Mah" <[EMAIL PROTECTED]> To: "Tag Libraries Users List" <[EMAIL PROTECTED]> Sent: Wednesday, June 11, 2003 12:24 PM Subject: accessing multiple select params Normally one can access a reqest parameter like this:

accessing multiple select params

2003-06-11 Thread Carole E. Mah
user selected 'blort' and 'bar', I only get 'blort'. If the 'foo' parameter is getting passed as an array in this case, how does EL treat that array, does it give you a param. syntax for accessing the array, or must the programmer parse it out by hand?

creating arrays

2002-08-19 Thread Carole E. Mah
o I have a horrible mix of scriptlet code (using the regexp capabilities built into JDK 1.4) and taglib code that I am desperately trying to reconcile. thanks, -carole - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Carole E. Mah[EMAIL PROTECTED]

JDK ... ?

2002-06-25 Thread Carole E. Mah
Does the new JSTL 1.0 run fine under JDK 1.2.2 ?? And does it run with the standard xerces xml parser that is distributed with Tomcat, or do I need crimson? Thanks, -carole - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Carole E. Mah [EMAIL PROTECTED

Re: escaping single quotes in sql query

2002-06-11 Thread Carole E. Mah
On Tue, 11 Jun 2002, Paul DuBois wrote: > At 14:12 -0400 6/11/02, Carole E. Mah wrote: > >DBtags has an 'escapeSql' tag, but JSTL:sql does not. > > Use in your or tag body, > and use ? as a placeholder character in the query string. > > <%-- placeholder value

escaping single quotes in sql query

2002-06-11 Thread Carole E. Mah
DBtags has an 'escapeSql' tag, but JSTL:sql does not. So, using JSTL, how does one escape single quotes? Thank you, -carole - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Carole E. Mah [EMAIL PROTECTED] Senior Programmer/Analyst Brown

Re: unknown protocol: jstl

2002-06-05 Thread Carole E. Mah
ing used, what your documents look like, what > their locations are, and other stuff -- there are lots of ugly > dependencies that we can't avoid. > > -- > Shawn Bayern > "JSTL in Action" (new name) http://www.jstlbook.com > (coming in July 2002 from M

unknown protocol: jstl

2002-06-04 Thread Carole E. Mah
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107) at javax.servlet.http.HttpServlet.se - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Carole E. Mah [EMAIL PROTECTED] Senior Programmer/Analyst Brown University Scholarly Technology Group

x:transform SCOPE usage

2002-05-31 Thread Carole E. Mah
whatever xalan uses to represent it) of the XML document in memory, and then apply the parameters to the stored tree each time the transformation is called ? And if so, how would I do this? Thank you for any advice, -carole - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Carole E.

Re: Parameterizing search expressions

2002-05-23 Thread Carole E. Mah
ole? > > > > > > > > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Carole E. Mah [EMAIL PROTECTED] Senior Programmer/Analyst Brown University Scholarly Technology Group phn 401-863-2669 fax 401-863-9313 http://www.stg.brown.edu/ persona

Parameterizing search expressions

2002-05-23 Thread Carole E. Mah
Let's say we want to perform a search on our text. We've tried to do it in this way, e.g. to search for "Brian": However it seems very hard to parameterize the most crucial part, namely the value of the "select" attribute in . We've tried setting "$doc//text()[contains(.,'Brian')]" as a

Re: How robust is JSTL beta 2?

2002-05-13 Thread Carole E. Mah
search facility so you can search both the body and headings of messages. -carole - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Carole E. Mah [EMAIL PROTECTED] Senior Programmer/Analyst Brown University Scholarly Technology Group phn 401-86

Re: documentation

2002-05-12 Thread Carole E. Mah
mands, e-mail: <mailto:[EMAIL PROTECTED]> > > > At the bottom of that page there's a link for downloading the specification. > (It's a PDF.) Grab it, print it, read it, enjoy it. :-) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Carole E. Mah

Re: source code?

2002-05-12 Thread Carole E. Mah
't mean to be greedy, I just think "more examples equals better doc". :-) -carole - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Carole E. Mah [EMAIL PROTECTED] Senior Programmer/Analyst Brown University Scholarly Technology Group

source code?

2002-05-10 Thread Carole E. Mah
blace to javadoc! Are people in the process of doing javadoc for the JSTL taglibs? Non-JSTL taglibs like DBTags have great javadoc online (this is why I ask, as a point of comparison). Thank you, -carole - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Carole E. Mah [

taglibs broken after tomcat update

2002-05-06 Thread Carole E. Mah
org.apache.taglibs.standard.tag.el.core.ImportTag Does anyone know why this might be? Thank you, -carole - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Carole E. Mah [EMAIL PROTECTED] Senior Programmer/Analyst Brown University Scholarly Technology Group phn 401-863-2669

Re: JSTL standard-examples documentation problem

2002-05-03 Thread Carole E. Mah
Impl.jar /usr/java/jwsdp-1_0-ea2/common/endorsed/xercesImpl.jar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Carole E. Mah [EMAIL PROTECTED] Senior Programmer/Analyst Brown University Scholarly Technology Group phn 401-863-2669 fax 401-

printing taglib variables from inside a scriptlet

2002-05-03 Thread Carole E. Mah
stl/core"; prefix="c" %> <% try { PrintWriter outFile = new PrintWriter(new FileWriter("blort.txt")); outFile.println(test); outFile.close(); } catch (IOException e) { System.err.println(e); System.exit(1); } %> - - - - - - - - - - - - - - - - - - - - -

JSTL standard-examples documentation problem

2002-05-03 Thread Carole E. Mah
standard-examples/sql/index.jsp no longer loads -- the nightly build version dated today 2002-05-02. The one from beta2 loaded fine! I was under the impression that all I had to do to view the standard-examples.war was to copy it to webapps/ (I made a symlink inside webapps that points to it).

sql timestamps

2002-05-02 Thread Carole E. Mah
:00:00.0 when I really want something like 4/30/02 12:00 AM. thank you! -carole - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Carole E. Mah [EMAIL PROTECTED] Senior Programmer/Analyst Brown University Scholarly Technology Group p

Re: broken x:transform

2002-05-02 Thread Carole E. Mah
with . >(The fact that absolute filenames ever worked was an accident -- a bug, >actually.) > >Shawn > >On Wed, 1 May 2002, Carole E. Mah wrote: > > > They are exactly as they were under the old system. > > Not empty! > > Full paths, like > &

broken x:transform

2002-05-01 Thread Carole E. Mah
element is missing. Can someone tell me why this is happening? thank you, -carole - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Carole E. Mah [EMAIL PROTECTED] Senior Programmer/Analyst Brown University Scholarly Technology Group phn 401-863

JSTL: sql

2002-05-01 Thread Carole E. Mah
ysql_insert_id($LINK); Thanks! -carole - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Carole E. Mah [EMAIL PROTECTED] Senior Programmer/Analyst Brown University Scholarly Technology Group phn 401-863-2669 fax 401-863-9313 http://www.stg.brown.edu/ personal: ht

Re: dbtags: rowCount

2002-04-30 Thread Carole E. Mah
; > > > > > -- > Martin Cooper > > > At 06:02 AM 4/30/2002, Carole E. Mah wrote: > > >Here is what it says in the doc: > > > >"The "rowCount" tag prints out the number of rows retrieved from the > >database. It ca

c:expr

2002-04-30 Thread Carole E. Mah
the c.tld that I have is: 1.0 EA2 When I grep this file c.tld, there is no occurrence of expr. Thank you, -carole - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Carole E. Mah [EMAIL PROTECTED] Senior Programmer/Analyst Brown University Scholarly

dbtags: rowCount

2002-04-30 Thread Carole E. Mah
r='<%= myColor %>' catName color furType That is, because of the ignoreErrors-"true", if there are zero rows, nothing gets printed out inside the resultSet block. However, the literal table header row always gets printed. Thanks for an

file system i/o

2002-04-29 Thread Carole E. Mah
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - Carole E. Mah [EMAIL PROTECTED] Senior Programmer/Analyst Brown University Scholarly Technology Group phn 401-863-2669 fax 401-863-9313 http://www.stg.brown.edu

Re: getColumn

2002-04-25 Thread Carole E. Mah
(i.e. I want to essentially say: $myValue ) It does not seem like this is possible. -carole On Thu, 25 Apr 2002, Carole E. Mah wrote: > > So, then I guess my question is to either Morgan or Shawn. > > Sun's Java Web Services Tutorial > (http://java.sun.com/webservices/do

Re: getColumn

2002-04-25 Thread Carole E. Mah
ail. Servlet > attributes are an integral part of many tag libraries, especially Taglibs' > "standard" tag library. > > - Morgan > > - Original Message - > From: "Carole E. Mah" <[EMAIL PROTECTED]> > To: "Morgan Delagrange" <

getColumn

2002-04-23 Thread Carole E. Mah
ly "to" writes somewhere other than a scriplet variable. ?? I am not very smart today. Thanks for any advice, -Carole - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Carole E. Mah [EMAIL PROTECTED] Senior Programmer/Analyst Brown University Scholarly Techno

RE: Nesting tags from different tag libraries?

2002-04-23 Thread Carole E. Mah
t; > > > > > At what point does the starting tag get the contained body? Will it > > > only get the JSTL tag or will it get the content of the JSTL tag? The > > > first case of course wouldn't help... > > > > Yes - JSP tags within other JSP tags g

Re: xsl:if test problem: dom4j vs xalan ?

2002-04-16 Thread Carole E. Mah
of the myID parameter. > > You could do this to ensure trimming of text... > > > > > > > > James > > - Original Message - > From: "Carole E. Mah" <[EMAIL PROTECTED]> > To: "Tag Libraries Users

xsl:if test problem: dom4j vs xalan ?

2002-04-16 Thread Carole E. Mah
t;http://jakarta.apache.org/taglibs/request-1.0"; prefix="req" %> <%@ include file="footer.html" %> File: test2.xsl Thanks for any advice, -carole - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Carole E. Mah

How do I use ?

2002-04-16 Thread Carole E. Mah
nection.run(WarpConnection.java:194) at java.lang.Thread.run(Thread.java:536) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Carole E. Mah [EMAIL PROTECTED] Senior Programmer/Analyst Brown University Scholarly Technology Group phn 401-863-2669