hi have u tried to use tag... try it along with some java script HTH Prashanth Anubhav Kale wrote: Hello. I want to display a string inside text box on JSP Page. If the string contains spaces then only the 1st substring upto 1st space is diaplayed in text box on the page. (e.g. if string is "anubhav kale" then text box displays only "anubhav" ) I use the following code: [input] value = > Can somebody help me how to avoid this ?? ( TEXTAREAS solve this problem but I DO NOT want to use TEXTAREAS as textarea inserts unnecessary spaces) Thanks Anubhav --------------------------------- Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software