Почему я получаю эту ошибку при создании приложения helloworld в Struts 1.3?
login.jsp
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>JSP Page</title>
</head>
<body>
<form name="login" action="login">
<input type="text" >
<input type="submit" value="submit">
</form>
</body>
</html>
struts-config.xml
<action-mappings>
<action name ="login" input= "/login.jsp" path="/login" type="com.myapp.struts.LoginAction" scope="request">
<forward name="success" path="/success.jsp"/>
</action>
</action-mappings>
LoginAction
public class LoginAction extends org.apache.struts.action.Action {
private static final String SUCCESS = "success";
@Override
public ActionForward execute(ActionMapping mapping, ActionForm form,
HttpServletRequest request, HttpServletResponse response)
throws Exception {
return mapping.findForward(SUCCESS);
}
}