I was trying to create a simple Spring MVC application in netbeans
IDE. However I got 404 error while I clicked the click hyperlink, please help me. The codes are as follows...
index.jsp
-----------
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Spring Web MVC Sample</title>
</head>
<body>
<a href="hello.html">click</a>
</body>
</html>
hellopage.jsp
---------------------
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>
JSP Page</title>
</head>
<body>
<h1>Message is : ${message}</h1>
</body>
</html>
redirect.jsp
------------------
<%@page contentType="text/html" pageEncoding="UTF-8"%>
HelloWorldController.java
-------------------------------
dispatcher-servlet.xml
------------------------------------
web.xml
---------------