You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2003/07/07 08:35:43 UTC
DO NOT REPLY [Bug 21357] New: -
tomcat: jsp scriptlets area executed twice
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21357>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21357
tomcat: jsp scriptlets area executed twice
Summary: tomcat: jsp scriptlets area executed twice
Product: Tomcat 4
Version: 4.0 Beta 1
Platform: Sun
OS/Version: Windows NT/2K
Status: NEW
Severity: Major
Priority: Other
Component: Jasper
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: certzen@yahoo.com
Copy the following code as a jsp page. say test.jsp and run this in ur app
server. The message 'Hi !' will be printed twice in your console. Now remove
the # alone from the number 000000, then run the jsp page. The message will be
normal, i.e., printed only once.
- Senthil
Listing of file test.jsp
------------------------
<%
System.out.println("Hi !");
%>
<HTML>
<HEAD>
<TITLE> Report </TITLE>
</HEAD>
<body>
<table background="#000000">
<tr>
<td>Have a Good Day !!</td>
</tr>
</table>
</body>
</html>
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org