Forum Moderators: phranque
<HTML>
<%@ page import ="java.io.*,java.util.List,java.util.*, java.sql.*" session = "true" %>
<BODY>
<% int i = 0;%>
Hello! The time is now <%= i %>
</BODY>
</HTML>
and here is my output with ie.
Hello! The time is now
nothing else.It meant to show the i value.its not showing.
If you got messages from tomcat about compilation errors then maybe the java (you need the java sdk, not only the runtime) is not installed properly (try copying the tools.jar from the java sdk to the tomcatdir/common/lib directory).
If you still have difficulities then post the complete error messages you got.