I have created this test page but when I view it in my browser the jsp code is displayed, is there something wrong with my page, or is tomcat not setup correctly?
I have the page "test.jsp" in the directory C":\Program Files (x86)\Apache Software Foundation\Tomcat 6.0\webapps\ROOT", is this correct?
Code:
<html>
<head>
<title> My Test Page </title>
</head>
<body>
A test webpage!
<script> alert('hi'); </script>
</body>
</html>
<% out.println("java test"); %>
I have the page "test.jsp" in the directory C":\Program Files (x86)\Apache Software Foundation\Tomcat 6.0\webapps\ROOT", is this correct?
Last edited: