What method are you returning it to?

What about formdata = process_data(formdata);

----------
>From: Duke Martin <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: servlet-java question
>Date: Thu, Aug 12, 1999, 1:26 PM
>

> Hi,
>
> I have a servlet that contains a method that processes form data.  I get the
> string from the form and pass it to the process method.  I then want to
> manipulate the string and return the string to the previous method.  How do
> I do this?  I currently have the following:
>
> String formdata = null;
> formdata = req.getParameter("textbox");
> process_data(formdata);
> .
> .
> public synchronized String process_data(String formdata)
> {
> .
> .
> return formdata;
> }
>
> This does not work.  The value of formdata remains unchanged.
>
> ___________________________________________________________________________
> 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