Works for me in 5.0.28

-Tim

Behrang Saeedzadeh wrote:
Hi

It looks like Tomcat cannot generate Servlet code for JSP files that have
incorrect HTMLish syntax. In the simple JSP page below I have written the
end </html> tag incorrectly and have missed to put the end > character and
then Tomcat complains that it cannot compile the class for my JSP.

Is this behaviour expected or is it a bug?

Regards,
Behrang S.

JSP page:
---------

<%@ page contentType="text/html;charset=UTF-8" language="java" %>

<html>
  <head><title>Simple jsp page</title></head>
  <body bgcolor="black">
  </body>
</html

Exception:
----------

HTTP Status 500 -

type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

org.apache.jasper.JasperException: Unable to compile class for JSP

--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to