you should quoted the value string.
i mean instead of
value=" + synpsys + "></td>"
you shoudl write this
value=\"" + synopsys + "\"></td>

\sasha


>Date:         Thu, 25 Feb 1999 21:27:37 +0530
>Reply-To: "A mailing list for discussion about Sun Microsystem's Java
>              Servlet API Technology." <[EMAIL PROTECTED]>
>From: Chainlu Sharma <[EMAIL PROTECTED]>
>Subject:      Resending text field value
>To: [EMAIL PROTECTED]
>
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
Hi
<br>I am having a small problem .
<br>I am reading the values from a form .
<p><b>String synopsis&nbsp; =req.getParameter("Synopsis");</b>
<br>fetches the value <b>This is synopsis</b> entered in the
textbox.[Confirmed
using print statement].
<p>But on servlet response to the field, the statement
<br><b>out.println("&nbsp;&nbsp;&nbsp; &lt;td bgcolor=999999>&lt;input
type=text name=\"Synopsis\" size=85 MAXLENGTH=79 value="+ synopsis
+">&lt;/td>");</b>
<p>prints only&nbsp; <b>This </b>?
<br>Any Help?
<br>Thanx in advance.
<br>Chainlu
<br>&nbsp;</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


______________________________________________________
Get Your Private, Free Email at http://www.hotmail.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