try to use ":
value="<%=table.getCity()%>"
-----Original Message-----
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Sivakumar S
Sent: Sunday, 27 February 2000 10:47
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
ColdJava: java server side programming
http://coldjava.hypermart.net
____________________________________________________________________
Get your own FREE, personal Netscape WebMail account today at
http://webmail.netscape.com.
===========================================================================
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