serlet访问不了jsp,高手指点
这是完正的程序代码帮忙看看
package my_home;
import javax.servlet.*;
import javax.servlet.http.*;
import java.io.*;
import java.util.*;
public class news_add_get extends HttpServlet {
public void doGet(HttpServletRequest request, HttpServletResponse response)
throws
ServletException,
IOException {
String nesws_art=request.getParameter( "art ");
System.out.println(nesws_art);
}
//Clean up resources
public void destroy() {
}
}
服务器报错:StandardHost[localhost]: MAPPING configuration error for request URI
StandardHost[localhost]: Removing web application at context path /web_home
*****************************
这是JSP里的完正的代码
<%@ page contentType= "text/html; charset=GBK " %>
<html>
<head>
<title>
update_index_news
</title>
<style type= "text/css ">
<!--
.style1 {
font-size: 18px;
font-family: "黑体 ";
}
.style4 {font-family: "黑体 "; font-size: 16px; }
-->
</style>
</head>
<table width= "768 " border= "2 " align= "center ">
<form action= "/my_home/news_add_get " >
<p> </p>
<p> </p>
<p> </p>
<tr align= "center " valign= "middle ">
<td width= "200 " height= "30 "> <span class= "style4 "> 新闻标题名 </span> </td>
<td valign= "middle ">
<input name= "art " type= "text " size= "50 ">
最多14个字 </td>
</tr>
<tr align= "center " valign= "middle ">
<td height= "30 "> <span class= "style4 "> 发表 作者 </span> </td>
<td valign= "middle "> <input name= "author_news " type= "text " size= "50 "&g