1 Reply Latest reply on Oct 18, 2006 4:36 PM by Essa Mohammad

    Executing Control Servlet after submitting JSP form

    Essa Mohammad Newbie

      Hi,

      I am trying to execute a control servlet (using MVC design pattern). The execution from JSP to JSP is fine but the JSP page is unable to invoke SERVLET. I have the following line in my JSP page
      form method="get" action="control.servlet"

      And I have the following web.xml file in web/WEB-INF folder :

      <?xml version="1.0" encoding="UTF-8"?>
      <web-app>

      <servlet-name>products</servlet-name>
      <servlet-class>com.phonicWorld.ControlServlet</servlet-class>
      <init-param>
      <param-name>TeamLead</param-name>
      <param-value>Zameer,Essa</param-value>
      </init-param>

      <servlet-mapping>
      <servlet-name>products</servlet-name>
      <url-pattern>/control.servlet</url-pattern>
      </servlet-mapping>
      <login-config>
      <auth-method>BASIC</auth-method>
      </login-config>

      </web-app>

      Can someone help me in solving the problem.

      Thanks

      ..Essa..