Я создал JSP файл.
sample.jsp
<%@ page pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<title>Insert title here</title>
</head>
<body>
This is jsp program
</body>
</html>
Я разместил его здесь в проекте samplejsp
.
samplejsp
`-- WebContent
`-- WEB-INF
`-- sample.jsp
Я открыл его по следующему URL-адресу.
http://localhost:8080/samplejsp/sample.jsp
Но в браузере отображается следующая ошибка.
404 ОШИБКА
Запрошенный ресурс (/sample.jsp) недоступен.