Or simply: <%= new java.util.Date().toString() %>
> -----Original Message----- > From: Fines, Steven [mailto:[EMAIL PROTECTED] > > If the body of your JSP is solely <%= java.util.Date %> you haven't given > it > anything to display. You will need to do something like this: > > <html> > <body> > <% > java.util.Date today = new java.util.Date(); > %> > <%= today.toString() %> > </body> > </html> > > SF > > -----Original Message----- > From: Barry Jones [mailto:[EMAIL PROTECTED] > > I just downloaded and installed the most recent release of Tomcat and I'm > running it on Windows > XP. I'm trying to learn JSP on my local machine (8080), but I have a few > questions. > > When attempting a helloworld.jsp page that was to include the date, the > code > <%= java.util.Date() > %> is not displaying anything at all. I'm trying to figure out what could > be setup incorrectly to > keep this from running. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
