I have a list in a jsp page which somewhat looks like the following
        <p>Category
          <select name="selCategory">
                <option value="ALL" selected>ALL</option>
                <option value="AMPH">Amphibious</option>
                <option value="AW">Air Warfare</option>
                <option value="C2">Command and Control </option>
        </select>
       </p>

When I submit the form containing the list I can get the parameter value
using the following syntax
categoryValue = request.getParameter(selCategory) -> results in AMPH if
that is selected.

How can I get Amphibious instead of AMPH without using a hidden component?

Thanks

====================================================================
++  Amarjyoti Das

++  email: [EMAIL PROTECTED]

++  phone: (207) 594-3048 x 30

++  fax:(207) 594-3021

++  web: www.stgeorgeconsulting.com

====================================================================

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to