You're missing the ; (semi-colon).  Use "<" or """.  You can ask for
browser information by looking at the request header information on the
servlet call.  Check out HttpServletRequest for your options.

Dan

> ----------
> From:         Hu, Jeffery X (Jeff)[SMTP:[EMAIL PROTECTED]]
> Reply To:     Hu, Jeffery X (Jeff)
> Sent:         Friday, December 03, 1999 9:42 AM
> To:   [EMAIL PROTECTED]
> Subject:      how to displaying "<" in browser
>
> Hi friends,
>
> I am using "&lt" and "&quot' to display "<" and double quote (")
> respectively. Everything is fine in IE4 but not in netscape.  Can anyone
> give me some tips.  Plus, how can my server side servlet/jsp detect what
> browser the clients are using?
>
> Any helps are highly appreciated
>
> J.H
>
>

===========================================================================
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

Reply via email to