RE: testing on empty string or null with jstl

2002-04-02 Thread Lev Pelekh
using this expression in a . That may clarify what your test expression evaluates to. Lev. -Original Message- From: Wim Bervoets [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 02, 2002 10:01 AM To: '[EMAIL PROTECTED]' Subject: testing on empty string or null with jstl

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

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 > >

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

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