I just installed Tomcat on my server and I am trying to run a test page. I
created a new jsp file in the directory:
C:\Tomcat\jakarta-tomcat-4.1.12\webapps\ROOT
The only code I put on this page was:
<% new java.util.Date() %>
I got the following error:
***********************************************
org.apache.jasper.JasperException: Unable to compile class for JSP
An error occurred at line: 12 in the jsp file: /test.jsp
Generated servlet error:
[javac] Compiling 1 source file
C:\Tomcat\jakarta-tomcat-4.1.12\work\Standalone\localhost\_\test_jsp.java:49
: ';' expected
new java.util.Date()
^
1 error
***********************************************
If I put the semi-colon into the code like it's indicating, I don't get
anything display.
I would appreciate any help with this.
Brad Tumy
--
To unsubscribe, e-mail: <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>