0 Replies Latest reply on Jul 7, 2003 1:39 PM by el_que

    Servlets [servlets act beyond their package?]

    el_que Newbie

      Yet another very newbie question:

      I've made a test war file with a jsp file containing a form passing some params to a HelloServlet .
      It works fine, but when i modify the servlet and deploy it as a different war, it keeps using the old servlet. Any advices (besides the RTFM ;) )
      Here goes my web.xml file:
      <?xml version="1.0"?>
      <!DOCTYPE web-app PUBLIC
      "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
      "http://java.sun.com/dtd/web-app_2_3.dtd">

      <web-app>
      Web Admin Console

      <servlet-name>HelloServlet</servlet-name>
      <servlet-class>HelloServlet</servlet-class>

      <servlet-mapping>
      <servlet-name>HelloServlet</servlet-name>
      <url-pattern>/hs</url-pattern>
      </servlet-mapping>
      </web-app>