[jboss-user] [Beginners Corner] - Re: How do i deploy servlet using JBoss4.2.0.GA, pls help ??

PeterJ do-not-reply at jboss.com
Wed May 30 18:08:45 EDT 2007


If your servlet is named foo.bar.Servet, package it in a war file, named foobar.war, as follows:

WEB-INF/
  + web.xml
  + classes/
       + foo/
            + bar/
                 + Servlet.class

Copy foobar.war to the server/default/deploy directory.

If you have a welcome file set up in web.xml to access the servlet, you can access it as http://localhost:8080/foobar. 

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

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



More information about the jboss-user mailing list