I created a JSP file.
sample.jsp
<%@ page pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<title>Insert title here</title>
</head>
<body>
This is jsp program
</body>
</html>
I placed it here in the samplejsp
project.
samplejsp
`-- WebContent
`-- WEB-INF
`-- sample.jsp
I opened it on the following URL.
http://localhost:8080/samplejsp/sample.jsp
But it shows the following error in browser.
404 ERROR
The requested resource (/sample.jsp) is not available.