error message above , servlet-name can not be found , how could this be .
------ Solution ---------------------------------------- ----
though you just cut a figure , but I saw one of your
------ Solution ------- -------------------------------------
to your
<servlet>remember the servlet and servlet-mapping is a parallel relationship , the relationship is not included
<servlet-name>HandleRegister</servlet-name>
<servlet-class>myservlet.HandleRefister</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>HandleRegister</servlet-name>
<url-pattern>/HandleRegister</url-pattern>
</servlet-mapping>
------ Solution ------------------------ --------------------
hand wrong letter by mistake
<servlet>
<servlet-name>HandleRegister</servlet-name>
<servlet-class>myservlet.HandleRegister</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>HandleRegister</servlet-name>
<url-pattern>/HandleRegister</url-pattern>
</servlet-mapping>
------ For reference only ----------------------------------- ----
and wrong, just one floor of a friend corrected my spelling mistake
The carefully check spelling , should be right up . . Why servlet-mapping can not find it
this have any special requirements you
没有评论:
发表评论