Here is date.jsp
<HTML>
<HEAD>
<TITLE>JSP Example</TITLE>
</HEAD>
<BODY BGCOLOR="ffffcc">
<CENTER>
<H2>Date and Time</H2>
<%
java.util.Date today = new java.util.Date();
out.println("Today's date is: "+today);
%>
</CENTER>
</BODY>
</HTML>
I tried copying the date.jsp to C:\Tomcat 4.1\webapps\ROOT\jspproj
and tried to access JSP from this url:http://localhost:8080/jspproj/date.jsp
but I am getting the error below
HTTP Status 404 - /date.jsp
--------------------------------------------------------------------------------
type Status report
message /date.jsp
description The requested resource (/date.jsp) is not available.
--------------------------------------------------------------------------------
Apache Tomcat/4.1.36
When I gave the url
http://localhost:8080/.It is displaying tomcat home page.that is index.jsp