[jboss-user] [JBossWS] - Re: JAX-RPC Web Services - Class is not a servlet error - Ho

srkpriv do-not-reply at jboss.com
Mon Nov 12 12:03:08 EST 2007


"PeterJ" wrote : Please post source for HelloServlet.

Hi here is the HelloServlet source code 
This I did as per the chapter 12 of jboss tutorial. Here is the link for the turotial - http://docs.jboss.org/jbossas/jboss4guide/r2/html/ch12.html

 - Thx.

import javax.servlet.http.HttpServlet;

/**
 *
 */
public class HelloServlet {

	/**
	 * 
	 */
	public HelloServlet() {
		// TODO Auto-generated constructor stub
	}

	/**
	 * say Hello
	 */
	public String hello(String name) {
		return "Hello " + name + "!" ;
	}
}


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

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



More information about the jboss-user mailing list