mailer taglib problem

2002-04-02 Thread Amarant Merah
Hi, I'm using mailer taglib, and I downloaded it from the nightly build (obviously). I followed all the instruction and samples and finally deploy my code. No mail was sent, and I'm not sure whether the problem lies at the mailer taglib or other things (e.g. the mail server). It didn't dump any

RE: [standard] doesn't accept a body

2002-04-02 Thread Shawn Bayern
Oh, yes. Sorry -- by "CVS head," I mean the latest branch of CVS, which is the one that the nighly builds are drawn from. So the next nightly build implements the fix and should allow you to use appropriately. (In fact, the problem itself was only introduced in another recent nightly build.)

RE: [standard] doesn't accept a body

2002-04-02 Thread Andrea Grittini
Sorry, I didn't understand. Is it the fix already available in the night build? or I have to wait the next release?, or there is a workaround.??? Thanks lot. Andrea Grittini -Original Message- From: Shawn Bayern [] Sent: martedì 2 aprile 2002 19.53 To: Tag Libraries Users List Subject: R

RE: How to access initParameters in the dbtags library?

2002-04-02 Thread Gare, Trefor
Sorry all, I forgot to say please.. any help appreciated. Tref Gare Web Developer MCSD/SCJP eCommerce Group Phone: (03) 9221 4106 Mobile: 0409 556 478 Fax:(03) 9941 4295 > -Original Message- > From: Gare, Trefor [SMTP:[EMAIL PROTECTED]] > Sent: Wednesday,3 April 2002 11:45 > To:

How to access initParameters in the dbtags library?

2002-04-02 Thread Gare, Trefor
Hi all, Second day on custom tags and I'm having trouble accessing something the docs say I should be able to. I'm using the jakarta dbtags library and attempting to set the database url, driver, userId and password in the web.xml as initParameters as the docs suggest is possible. However I can't

scrape - won't work

2002-04-02 Thread clippinger . ma
Got the scrape taglib all set up with the latest scrape build, latest jakarta-oro. But the examples don't return scrapes for me just the text explaining what scrape I would be seeing if it were there. I also don't get any type of error message. Was getting the one that required the latest jakar

Re: Using the JSTL expression language vs. using Java as a scripting language

2002-04-02 Thread Robin Martin
I'm all for the EL... I was impressed when I found that I could do this: instead of this: <% ListIterator userList = bean.getUserList(); while (userList.hasNext()) { User user = (User)userList.next(); %> <%=user.getUserId()%> <%

Re: [standard] doesn't accept a body

2002-04-02 Thread Shawn Bayern
Andrea, Thanks for this - this was just a bug. We actually never created a separate TLV for the SQL library, so it was pointing at the "core" library's validator and thus inheriting its semantics. I've fixed the problem in the current CVS head. Thanks again, -- Shawn Bayern Author, "JSP Stan

Re: [standard] doesn't accept a body

2002-04-02 Thread Andrea Grittini
When I try to use a parameter inside the body of a sql:query tag I got the following exception : (after a 4 exception with message null and priviledge error) javax.servlet.ServletException: The taglib validtor in "urn:jsptld:/WEB-INF/tlds/sql.tld?page=/bodyXXX.jsp" failed to validate document w

Comment: JSTL SQL and auto-increment keys

2002-04-02 Thread Lev Pelekh
Hello, There seems to be a limitation in JSTL SQL taglib. As new connection is made for every query and update tag, in case of multiple inserts it makes it difficult to obtain the value of an auto-increment key from the last insert. One workaround is to use transactions, but that is a fairly adv

RE: testing on empty string or null with jstl

2002-04-02 Thread Lev Pelekh
Wim, I am new to JSTL, but I seems to me that your test expressions is malformed. According to A.2.1 of JSTL spec, mixing EL and text as part of an attribute concatenates the text and the results of EL evaluation. Furthermore, I think that only binary "and" operator is supported. Try using this e

RE: testing on empty string or null with jstl

2002-04-02 Thread Wim Bervoets
> Well, on the previous page (with the form post) there is a type="text" maxLength="50" size="25" name="friendsEmail1"> , so the > parameter friendsEmail1 is probably in the http request > (value: empty string > but not null) empty string if the user didn't fill in anything offcourse... -- To

RE: testing on empty string or null with jstl

2002-04-02 Thread Wim Bervoets
> according to the specs, I believe EL will evaulate null value to zero > length string. > > if you treat zero length string and null as the same condition, does > that work for your situation? > > I'm a little confused by the example you provide. the first > when checks > to make sure name a

logging in JSTL

2002-04-02 Thread peter lin
I read through the jstl spec and only found one instance where logging was mentioned. In formatting tags, it says if a key isn't found, it logs it to the servlet context. Will the logging be configurable, so that it can be turned off and on? the reason I ask is the benchmarks I ran with JProbe h

RE: testing on empty string or null with jstl

2002-04-02 Thread Wim Bervoets
Thanks that did the trick :-) Wim > -Original Message- > From: Pedro Diaz [mailto:[EMAIL PROTECTED]] > Sent: dinsdag 2 april 2002 17:20 > To: Tag Libraries Users List > Subject: Re: testing on empty string or null with jstl > > > Hi. > > Try > > > > instead of > > > > Greetings

Re: testing on empty string or null with jstl

2002-04-02 Thread Pedro Diaz
Hi. Try instead of Greetings Wim Bervoets wrote: > Hello, > > I have the following code: > > > > email something > > > [] > [] > [] > [<%=request.getParameter("yourName")%>] > [<%=request.getParameter("yourEmail")%>] > [<%=reques

Re: testing on empty string or null with jstl

2002-04-02 Thread peter lin
according to the specs, I believe EL will evaulate null value to zero length string. if you treat zero length string and null as the same condition, does that work for your situation? I'm a little confused by the example you provide. the first when checks to make sure name and email are not nu

Using the JSTL expression language vs. using Java as a scripting language

2002-04-02 Thread Steve Bang
I'm encountering developers who question the value of the EL, since it often isn't really much different than using Java as a scripting language. Using Java as a scripting language in JSP pages is more akin to JavaScript, it seems, than it is to the EL. See the snippet below for an example of what

testing on empty string or null with jstl

2002-04-02 Thread Wim Bervoets
Hello, I have the following code: email something [] [] [] [<%=request.getParameter("yourName")%>] [<%=request.getParameter("yourEmail")%>] [<%=request.getParameter("friendsEmail1")%>] If the request paramaters are not em

package org.apache.jasper.runtime does not exist

2002-04-02 Thread Chuck Amadi
Hi any takers . All my previous work no longer functions due to this error . Note unfortunatley i don't run cvs and it's been while that i worked on my jsp's/javabeans as at the moment i have created my work project under a html application and is working prior to converting to jsp , session be

Unable to load class

2002-04-02 Thread Chuck Amadi
Hi there having problrms with this one Please note that i was able to get the dbtags running albeit i need to get a connection to MySql Database using the mm.mysql-2.0.4-bin.jar file that is also in my /WEB-INF/lib subdirectory of my web application. I assume that the dbtags Copy the dbtag lib