Angus Ferguson wrote:I am getting the chrome value from a the request.
This sentence does not parse.
Please read this article to understand why JavaScript has not access to server0side JSP variables. All you can do is what has already been outlined: create markup on the server that's sent to the client for interpretation.