I am new to .jsp web pages, I just want to edit some CSS and see the changes on my PC before sending back to customer. I dont want to edit any java coding or anything, just maybe change some html and CSS stuff.
I have Tomcat running on my computer, and I can browse to http://localhost:8080/ and see the Tomcat 9.0 web page.
No matter what I do, when I browse to any of the .jsp files I want to change, I get a 404, so am starting at the beginning to try and troubleshoot, and even with the most basic file, I get the same error.
What I am doing to test is I simply made a file called hello.jsp and uploaded it to the /webapps/hello folder
The code I am testing with has basically nothing in it:
<%@ page contentType="text/html; charset=iso-8859-1" language="java" import="java.sql.*" errorPage="" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
</head>
<body>
<p>Test</p>
</body>
</html>
When I browse to the URL: http://localhost:8080/hello.jsp
I get:
HTTP Status 404 - /hello.jsp
type Status report
message /hello.jsp
description The requested resource is not available. Apache Tomcat/9.0.0.M4
I dont understand what is not available?