This content has been marked as final.
Show 2 replies
-
1. Re: how to deploy sample servlet in Jboss-4.0.2 application
darranl Aug 29, 2005 12:09 PM (in response to katampavan)You can't just dump your class file in the deploy folder like that.
You need to package it correctly in a war file with a web.xml to configure the servlet. -
2. Re: how to deploy sample servlet in Jboss-4.0.2 application
katampavan Aug 30, 2005 12:50 AM (in response to katampavan)iam new to JBOSS , i installed jboss-4.0.2 successfully, but i struck in running a sample servlet. i.e i donno where to place the class file. can any one help me by giving complete steps right from compilation to displaying of servlet output in web browser.
if i place the class files in server\default\deploy
\httpinvoker\invoker\..\servlet folder, and enter the URL, http://localhost:8080/servlet/xxx.class
it is showing that
"Requested resource /servlet/xxx.classis not available."
HOW TO PACKAGE THE CLASS FILE IN A WAR FILE WITH A web.xml TO CONFIGURE THE SERVLET??