  | Mailing List | | Home | | Forum Home | | JBoss - Java Application Server | | Struts - A MVC web framework | | Tomcat - JSP/Servlet container | | iText - An open source PDF Java Library | | JDOM - JDOM XML Parser | | J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition | | J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog | | Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology | | JSP - A mailing list about Java Server Pages specification and reference | |
Struts & Hibernate
|
|
|
  | | | how to pipe values from select-Tag ? | how to pipe values from select-Tag ? 2003-09-16 - By Fuchur1476 huuil
Back Shalom,
first let me introduce myself to You. My Name is Bastian and i come from germany (europe). I'm studying computer sciences.
I'm working with servlets. Well, the problem i have is that I want to have a <select> from which the user can select an item by double clicking the item.
The solution which already worked was without an select Tag . I worked with Buttons and forms but this is to complicated for users. They had to do to many clicks to go through.
Now I imagine myself a select List where users have to doubleclick an item to go.
here's my sourcecode : /////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////// /** SelectField filled with projectnames*/ /////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////// out.println("<form name=\"liste\" >"); out.println("<center>" +"<select name=\"proField\" size=\"5\">" +"<option><-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---></option >"); for(i = 1; i<length;i=i+2) { out.println("<option value=\""+vec.get(i)+"\">"+vec.get(i)+"< /option>"); } out.println("</select>"); i=0; /////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////
At the moment I#m working with an doGet Method in the proceeding Servlet.
I would like the preoceeding class to get the "value".... How to do that ?
Hoping you understand what's my problem :-)
THX Bastian
__ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ _____ Zwei Mal Platz 1 mit dem jeweils besten Testergebnis! WEB.DE FreeMail und WEB.DE Club bei Stiftung Warentest! http://f.web.de/?mc=021183
__ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ __ To unsubscribe, send email to listserv@(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
|
|
 |