Friends, We created a web application in JSP using Tomcat as server with MySQL as database on Windows XP. I had created a folder ExampleSite and created the application. Now when it is time to run the website online, it opens at http://localhost:8081/examplesite/ and I need to remove the examplesite folder from url. To do this, I made a change in the context.xml file from <Context path="examplesite/"> to <Context path=""> I am able to see the website on the root now. http://localhost:8081/ The problem is that how do I deploy the website using WAR file now? I can open the tomcat manager now at http://localhost:8081/manager/html/. Earlier it used to get open at http://localhost:8081/manager/. My website is listed at the top of list in manager and it entry comes as /. If I try to deploy my examplesite folder named examplesite, it gives an error. How will I deploy the folder? Am I in the right direction? Please help!!! Thanks in advance.
Am I right in thinking that you are trying to upload your website files? It might not work with a WAR file. Extract it and zip it as a zip file, then just upload it to the root.