try<servlet-mapping>
<servlet-name>ShowBuy</servlet-name>
<url-pattern>/ShowBuy/showbuyservet/ShowBuy</url-pattern>
</servlet-mapping><form>的action应该和url-pattern的指向实际路径一致

解决方案 »

  1.   

    还是不行呀?type Status reportmessage /showbuy/showbuyservet/ShowBuydescription The requested resource (/showbuy/showbuyservet/ShowBuy) is not available.
    --------------------------------------------------------------------------------Apache Tomcat/5.0.10
      

  2.   

    <url-pattern>/showbuyservet/ShowBuy</url-pattern>
      

  3.   

    <form action="showbuyservet/ShowBuy"  method="post">------->
    <form action="servlet/showbuyservet/ShowBuy"  method="post">
      

  4.   

    既然http://localhost:8080/showbuy/ShowBuy
    可以正常显示
    那你先 <form action="http://localhost:8080/showbuy/ShowBuy"  method="post">这样的笨方法来试试ok了再改弄相对地址