The following lines should give the same result in the browser, but they
don't:

<!-- <% out.print(new java.util.Date()); %> -->
<!-- <%= new java.util.Date() %> -->

The result in the browser is the following:

<!-- <% out.print(new java.util.Date()); %> -->
<!-- Wed Sep 27 23:03:13 GMT+02:00 2000 -->

So it seems that JSP expressions work well inside HTML comments, but other
JSP code seems to be ignored by the compiler. Is this a bug or what else
might be wrong here?

Michael

----------------------------------------------------------------------
Michael Descher                        fon   :         +49 2241 332813
Friedhofstr. 4                         fax   :        +49 89 244311025
53757 Sankt Augustin                   email :  [EMAIL PROTECTED]
Germany                                web   : http://www.ambersoft.de

smime.p7s

Reply via email to