On Thu, 27 Apr 2000, Quaini Michele wrote:

> I have a form where users inputs data, and I want to use some combobox
> with predefined values. When the system validates the form I want to show
> the form with the data entered by the user + validation messages. I already
> saw a solution to make the edit fields shows the entered value for edit
> fields, but the comboboxes lose their values. Is there a solution to this
> problem or a work-around?

Assuming you're talking about <select> being the combo box, the form
taglib (http://cupid.suninternet.com/~joeo/Form.html) has builtin support
for this kind of thing. It requires that you use JSP 1.1, but that's
pretty common nowadays.

-----------------------------------------------------------
Joseph B. Ottinger               [EMAIL PROTECTED]
http://cupid.suninternet.com/~joeo      HOMES.COM Developer

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to