Run something lie this:
<%! public void out.println(String val1,
String val2, javax.servlet.jsp.JspWriter out throws java.io.IOException
out.println("Remote address:",request.getRemoteAddr(),out);
out.println("Remote host:",request.getRemoteHost(),out);
out.println("The browser you are using
is",request.getHeader("User-Agent"),out);
***************************************************************
* R. Jarett Kulm | For a man to acheive all that is *
* [EMAIL PROTECTED] | demanded of him, he must regard *
* Technical Analyst | himself as better than he is. *
* Oracle Internet Products | -- Goethe *
***************************************************************
----- Original Message -----
From: Guilherme - PerConsult <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, November 24, 1999 9:27 AM
Subject: help a brazilian!
> Hi!
>
> I have to convert some ASP files to JSP, and I`m having some problems. I
> don`t know how to "discover" what kind of browser the person is using.
> In ASP the line is:
>
> Set oBrowser = Server.CreateObject("MSWC.BrowserType")
>
> And in JSP???????
>
> Thank you!
> gui
>
>
===========================================================================
> 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
>
===========================================================================
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