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 applicationbbnp.
I assume that the dbtags
Copy the dbtag
Hello,
I have the following code:
c:choose
c:when test=(${param.yourName} != '') and (${param.yourEmail} != '') and
(${param.friendsEmail1} != '')
email something
/c:when
c:otherwise
[c:out value=${param.yourName}/]
[c:out value=${param.yourEmail}/]
[c:out
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
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
Hi.
Try
c:when test=${ (param.yourName != '') and (param.yourEmail != '') and
(param.friendsEmail1 != '') }
instead of
c:when test=(${param.yourName} != '') and (${param.yourEmail} != '') and
(${param.friendsEmail1} != '')
Greetings
Wim Bervoets wrote:
Hello,
I have the following code:
Well, on the previous page (with the form post) there is a INPUT
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
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
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
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
I'm all for the EL... I was impressed when I found that I could do this:
c:forEach var=user items=${bean.userList}
tr
tdc:out value=${user.userId}//td
/tr
/c:forEach
instead of this:
%
ListIterator userList = bean.getUserList();
while (userList.hasNext()) {
User
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
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
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:
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:
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 sql:param
appropriately. (In fact, the problem itself was only introduced in
another recent nightly
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
16 matches
Mail list logo