Re: how to pipe values from select-Tag ?

Shekhar Suman <[email protected]>
Newsgroups gmane.comp.java.sun.servlet
Message-ID <009701c37cdf$9fc11bd0$2001a8c0@shekhar>
Hi Frnd,

U can get the value in precedding servlet by using
getParameterValues("proField" ) and it will return String[]. check it out.

Hope this will be right if I m getting ur problem correctly.

Shekhar
----- Original Message -----
From: "Fuchur1476 huuil" <[email protected]>
To: <[email protected]>
Sent: Tuesday, September 16, 2003 5:42 PM
Subject: how to pipe values from select-Tag ?


> 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 [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


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.518 / Virus Database: 316 - Release Date: 9/11/2003

___________________________________________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.