-
1. Re: JSP and Servlet on JBoss
pablojavierpy Feb 1, 2005 6:08 AM (in response to ahsna_jq)It is possible since JBOSS is bundled with Apache Tomcat.
You have no significant differences using Tomcat standalone or Tomcat inside JBoss.
Deployment process might be a little different. In JBOSS, you'd only need to drop your WAR file in the deploy directory and that's it. In Tomcat, you'd need to USE Tomcat Administrator (or was it Tomcat Manager) to do so.
There is also an extra (and optional) configuration file called jboss-web.xml if you deploy a web application in JBoss' Tomcat. You should take a look if you are interested.
And there is neither Tomcat Administration web application no Tomcat Manager web application in JBoss.
Hope this helps. -
2. Re: JSP and Servlet on JBoss
ahsna_jq Feb 1, 2005 7:45 AM (in response to ahsna_jq)Can you please tell me in which folder of JBoss (or internal tomcat) i have to put war file. And do i need to put only jsp or servlet as well in war file.
waiting for reply.
thanx -
3. Re: JSP and Servlet on JBoss
darranl Feb 1, 2005 7:57 AM (in response to ahsna_jq)Assuming you started JBoss with the run script and did not pass in any arguments your war file goes in the folder '{jboss.home}/server/default/deploy'
-
4. Re: JSP and Servlet on JBoss
pablojavierpy Feb 1, 2005 8:33 AM (in response to ahsna_jq)Yes, as darranl stated,
{jboss.home}/server/default/deploy
would be the directory to place the WAR file.
In the WAR file, you should put your "jsp" files and servlet classes. Just like you would in a TOMCAT WAR file.
If you need more info on how to do this, check TOMCAT web site: http://jakarta.apache.org
Cheers!