Re: Can you test for a cookie's value using c:if tag?

2002-03-29 Thread David M. Karr
Shawn == Shawn Bayern [EMAIL PROTECTED] writes: Shawn On Thu, 21 Mar 2002, Matt Raible wrote: Is it possible to do the following with JSTL? c:if test=${cookie.username == 'learner'} learner /c:if Shawn Ah, I was hoping someone would ask. The answer is no, not

RE: Can you test for a cookie's value using c:if tag?

2002-03-23 Thread Matt Raible
for a cookie's value using c:if tag? On Thu, 21 Mar 2002, Matt Raible wrote: Is it possible to do the following with JSTL? c:if test=${cookie.username == 'learner'} learner /c:if Ah, I was hoping someone would ask. The answer is no, not exactly like that, but you can still use JSTL

RE: Can you test for a cookie's value using c:if tag?

2002-03-23 Thread Shawn Bayern
On Sat, 23 Mar 2002, Matt Raible wrote: Is there anyway to test if cookieValue *contains* a String, rather than just == 'String'? No. For that, you'll need a custom taglib (or, of course, the dreaded scriptlet). :) Ultimately, I'd personally like to see some string support in JSTL (like

Re: Can you test for a cookie's value using c:if tag?

2002-03-21 Thread Shawn Bayern
On Thu, 21 Mar 2002, Matt Raible wrote: Is it possible to do the following with JSTL? c:if test=${cookie.username == 'learner'} learner /c:if Ah, I was hoping someone would ask. The answer is no, not exactly like that, but you can still use JSTL to access cookies. While web