我想在eclipseServlet是缺失的 - 所请求的资源()不可用
<%@ page language="java" contentType="text/html; charset=UTF-8"
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>Insert title here</title>
</head>
<body>
<form action="serv">
<input type="submit">
</form>
</body>
</html>
运行使用Tomcat这个代码当我点击提交按钮,出现
HTTP Status 404 - /Ajax/serv
type Status report
message /Ajax/serv
description The requested resource (/Ajax/serv) is not available.
以下错误消息
我正在处理一个JSP项目时没有任何问题,直到我删除了JSP和Servers项目并创建了新项目。从那以后,它就不起作用了。
有什么建议吗?
检查如何创建新的Web项目:HTTP://help.eclipse .org/indigo/index.jsp?topic =%2Forg.eclipse.wst.webtools.doc.user%2Ftopics%2Ftwcreprj.html – 2012-04-24 04:27:44
我遵循了相同的步骤。 – 2012-04-24 04:29:27
检查/WEB-INF/web.xml并粘贴 – 2012-04-24 04:30:04