Hi

U can use getParameterValues( )  method of servlet to get multiple values of a
html form element. This method returns an array of strings. U can then keep this
array in the session object using the HttpSession objects putValue() method.

Hope this helps.
Shivashis




Ashesh Kumar Singh <[EMAIL PROTECTED]> on 06/07/2000 09:12:43 AM

Please respond to "A mailing list for discussion about Sun Microsystem's Java
      Servlet API Technology." <[EMAIL PROTECTED]>

To:   [EMAIL PROTECTED]
cc:    (bcc: Shivashis Bose/fltpa/comsvc)

Subject:  Help Please...Its Urgent !!!!



Hi All !!
I am using Servlets and in my HTML page (Created by a JSP actually) I am
using a Text Area and trying to put more than one row of data which comes
from the user input. My text area columns can vary depending on various
conditions of user input in previous pages, which is dynamically taken care
by JSP page (which is building that HTML file).

Now my problem is, How can I get all the values Row wise Seperately and and
then put them in the Servlet's Session Object ??????  Later on I need to
retrieve all the values as seperate Items from the Session.

Its actually very very urgent and I am expecting some help from any one of
you ASAP.

Thanks,
Ashesh.

___________________________________________________________________________
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

___________________________________________________________________________
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