The following code :
<html>
<head>
<title>My First JSP</title>
</head>
<body>
Hello world!<br>
The current date and time is <%= new java.util.Date() %>
</body>
</html>
produced the following:
Hello World!
The current date and time is
I put the JSP file in the folder begjsp-ch01 which is a sub directory of webapps.
Hopefully this is a bit clearer.
Quote:
quote:Originally posted by jwenting
You need to be a bit clearer here, what exactly is going wrong (or what do you expect to happen and what do you observe to happen)?
|