So far i am using weblogic to deploye my jsp files but when i try to deploye using tomcat, i dont know wat to do.. My problem is with this page http://localhost:8080/manager/html.. can anyone tell me what is Context Path (optional), XML Configuration file URL and WAR or Directory URL. can i use the xml file that i use in weblogic to deploye... [ January 24, 2008: Message edited by: Shana Sanjith ]
Rather than making you rename the directory or war file and then deploy the app, Tomcat lets you choose a different name when you deploy. This way you can name it MyApp but still retain the original name in your war file.
There are several ways to deploy an app in Tomcat and it's a good idea to review the documentation on their site. It's pretty good these days.
The simplest is simply to drop your war file (or directory structure) into the tomcat/webapps directory. Tomcat will take care of the rest. If you need more fine grained control, you can create what's called 'context fragment' file that contain things like an alternate context path, context-init-params etc into a directory outside your app.
Again, take a few minutes to read through their documentation. You'll be glad you did.
Originally posted by Shana Sanjith: still i dont understand war files...
There isn't much to understand. A war file (web archive) is nothing more than a jar file containing the entire web application directory structure.
If you have a running version of Tomcat on your machine, you can download any of the war files on my site ( http://simple.souther.us )to your Tomcat/webapps directory. As soon as Tomcat sees the war file there, it will unpack it and deploy the application.