当前位置: 代码迷 >> Java Web开发 >> jsp调Servlet 出现异常
  详细解决方案

jsp调Servlet 出现异常

热度:624   发布时间:2016-04-17 16:59:25.0
jsp调Servlet 出现错误
各位高手   帮忙指点下:
JSP文件:
    <form   name=   "form1 "   method= "POST "   action   =   "/WebModule1/RouteFunction ">
    <tr>
        <td   width= "105 "> <input   name= "ipaddress1 "   type= "text "   size= "15 "> </td>
            <td   width= "63 "> <input   name= "serialno1 "   type= "text "   size= "15 "> </td>
                <td   width= "10 "> <input   name= "route1 "   type= "text "   size= "15 "> </td>
    </tr>
    <tr>
        <td> <input   name= "ipaddress2 "   type= "text "   size= "15 "> </td>
            <td> <input   name= "serialno2 "   type= "text "   size= "15 "> </td>
                <td> <input   name= "route2 "   type= "text "   size= "15 "> </td>
    </tr>
    <tr>
        <td> <input   name= "ipaddress3 "   type= "text "   size= "15 "> </td>
            <td> <input   name= "serialno3 "   type= "text "   size= "15 "> </td>
                <td> <input   name= "route3 "   type= "text "   size= "15 "> </td>
    </tr>
    <tr>
        <td> <input   name= "ipaddress4 "   type= "text "   size= "15 "> </td>
            <td> <input   name= "serialno4 "   type= "text "   size= "15 "> </td>
                <td> <input   name= "route4 "   type= "text "   size= "15 "> </td>
    </tr>
    <tr>
        <td> <input   name= "ipaddress5 "   type= "text "   size= "15 "> </td>
            <td> <input   name= "serialno5 "   type= "text "   size= "15 "> </td>
                <td> <input   name= "route5 "   type= "text "   size= "15 "> </td>
    </tr>
</table>
<input   type= "submit "   name= "Submit "   value= "提交 "     >
    </form>
----------------------------
Servlet   文件:
放在:   routefunction.RouteBean;
------------------------------
配置文件:
<web-app>
    <display-name> WebModule1 </display-name>
    <servlet>
        <servlet-name> routeservlet </servlet-name>
  相关解决方案