Use double quotes to surround the display value. If no quotes are there then

only the first  continuous token (withoud spaces is picked rest is ignored)

Ashwani
> ----------
> From:         Sivakumar S
> Reply To:     Sivakumar S
> Sent:         Sunday, February 27, 2000 5:16 AM
> To:   [EMAIL PROTECTED]
> Subject:      Display PROBLEM in text fields for JSP
>
> Hi
>
> I'm using a Servlet Bean to retrieve information from the database. The
> JSP code looks similar to the one below, where "table" is the bean name.
>
> <input type="TEXT" name=City size="25" value=<%=table.getCity()%> >
>
>
> This has to retrieve CITY value from the database and put it into the text
> field for editing .
>
> If the city is something like "San Jose", then the characters after "San"
> is getting truncated because the code is interpreted as
>
> value = San
>
> only.
>
> Help needed
>
> ==========================================================================
> =
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> FAQs on JSP can be found at:
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to