Hi Christian
On Mon, 2 Apr 2001, Christian Cryder wrote:
> Does anyone have any sample code for looking at an HttpServletRequest and
> determining:
>
> a) ClientType (which version of which browser are we dealing with? IE 3x? IE
> 4x? NN 3x? NN 4x? WML 1_0? WML 1_2? etc)
-> I think this could be easy using Jscript inside the html page that will
fire your servlet ..by using a non-visual input(hidden type) and read this
properties in onload event by ussing the window(jscript) oject see this
object..i think this is a piece of kake.
> b) FormatType (which version of which markup format are we dealing with?
> HTML 3.0? 3.1? 3.2? 4.0? CHTML 1.0? WML 1.0? etc)
->i don't but may be similar ..just look at those elements(objects in
jscript)
> c) ScriptingType (which version of which scripting type are we dealing with?
> Javascript 1.0-1.5? VBScript? WMLScript? etc)
->of course it is jscript..no exactlyits version..
hope this help..Romel.
> tia,
> Christian
> ------------------------------------------------
> Christian Cryder
> [EMAIL PROTECTED]
> Barracuda - Open-source Presentation Framework
> http://barracuda.enhydra.org
> ------------------------------------------------
> "What a great time to be a Geek"
>
> ___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html