just use &nbsp; outside of <% %> like you would with HTML.

putting it inside <%= %> tries to evaluate a variable named "&nbsp;"

________________________________________
Pete Freitag ([EMAIL PROTECTED])
CFDEV.COM
Web Developers Resources
http://www.cfdev.com/

-----Original Message-----
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of srinivas puppala
Sent: Monday, July 30, 2001 2:37 PM
To: [EMAIL PROTECTED]
Subject: how to include spaces in jsp page?


Hi All,
I am trying to display some hierarchy in jsp. I am tryign to use &nbsp for
spaces with <%=&nbsp; %>.

But it is not working. Can some guru guide me on how to get spaces in to the
display from a jsp page ?

TIA.
srini

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
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

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
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