how to run Servlets in JBoss - (urgent plz help)
1 posts in topic
Flat View  Flat View

Posted By:   anila_reddy
Posted On:   Tuesday, June 27, 2006 07:29 AM

i m new to JBoss, i want to run servlets and Jsp in JBoss appln server. can you plz help in knowing the detailed procedure to run the servlets in the JBoss.

Re: how to run Servlets in JBoss - (urgent plz help)

Posted By:   Simon_Ablett  
Posted On:   Wednesday, June 28, 2006 07:58 AM

In very simplistic terms....build the war file and copy it to '${JBOSS_HOME}/server/default/deploy' (assuming that you are using the server's default version). From your browser (assuming that it is running on the same machine as your JBoss installation) type a URL of the form 'http://localhost:8080/myApp/myServlet' - where 'myApp' is the name of your application's war file minus the '.war' extension and myServlet is the name of your servlet.

About | Sitemap | Contact