you can get the value of the select box when you submit the form

<c:when test="${param['selectbox'] == youritem}">
        <option selected>youritem</option>
</c:when>
<c:otherwise>
        <option>youritem</option>
</c:otherwise>

mark


-----Original Message-----
From: Stefan [mailto:nickm@;studioweb.com]
Sent: Wednesday, October 30, 2002 4:59 AM
To: Tag Libraries Users List
Subject: Keeping state of select box's.


Hi,

Is there a JSTL suggested way of keeping state of a select box that is in a page that 
is submitted back to itself?

Thanks,

Stef

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.404 / Virus Database: 228 - Release Date: 10/15/2002
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.404 / Virus Database: 228 - Release Date: 10/15/2002
 

--
To unsubscribe, e-mail:   <mailto:taglibs-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:taglibs-user-help@;jakarta.apache.org>

Reply via email to