Hi,

I am about to start developing a JSP application and I have some typical startup issues holding me up.

The following JSP-program (see below) does not work. It doesn't show the values in "my_count".

I got the syntax from an example of a book.
1) Is the syntax correct ?
2) Does Internet Explorer support JSP by default or is there some initial setup required ?

I would be grateful if someone could help me just making this very script work. then probably I will be able to make some more complex stuff myself.

Thanks in advance. Kind regards. Jef

Code sample is the following :
<html>
<head>
<title>First JSP page</title>
</head>
<body>
<h2 align="Left">My FIRST JSP TESTPAGE</h2>
<%! int my_count = 1; %>
<p>First count = <%= String.valueOf(my_count) %>
<% my_count = 2; %>
<p>Second count = <%= String.valueOf(my_count) %>
</body>
</html>