You won't know on the first hit but if your page has a form, you can
test when that form is submitted.
In your form, add one hidden field.
Then from the form's onsumbit or the body's onload event, change the value of that field.
From your servlet/jsp, read that parameter with request.getParameter.
If it's "true" then you know that javascript was enabled when the form was submitted.
I don't know how to get the version.
The User-Agent header will tell you what make and version browser the user has (or which one they're claiming to have anyway).
[ August 12, 2005: Message edited by: Ben Souther ]