Hi,

I have something like this in one of my tag classes :

        pageContext.getOut().print("<TD class=\"label\">Group Name</TD>");
        pageContext.getOut().print("<TD><INPUT id=text1 name=text1 value=");
        str = pageContext.getRequest().getServerName() + " " + 
pageContext.getRequest().getRemoteAddr();                        
        pageContext.getOut().println(str);//pageContext.getOut().print(str);
        pageContext.getOut().print("></TD>");

The value assigned to str variable is "localhost ipaddress". It shows it correctly if 
I print it to System.out. But on the html page all it shows is the first word: i.e. 
"localhost". If however I hard code the same value (using escape sequences) then it 
works correctly. Do I have to make setting to show a complete strings (multiple words) 
or what it is ?

regards
-- Kedar



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to