[jboss-user] [JBoss Getting Started Documentation] - Executing Control Servlet after submitting JSP form

geemployee do-not-reply at jboss.com
Wed Oct 18 16:34:21 EDT 2006


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.. 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3979196#3979196

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3979196



More information about the jboss-user mailing list