Manually uncompressing WAR file

DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Manually uncompressing WAR file

  1. #1
    Join Date
    Feb 2003

    Manually uncompressing WAR file

    I have a completed JSP/servlet website that I'm trying to deploy on a webhosting site but I'm having some problems. The root directory is apparantly /html and then there's a /web-inf folder in that that containts a /classes and /lib folder. I've tried placing the war file in the /html and the /web-inf folder and having them restart tomcat, but it won't automatically uncompress the war file. I don't have access to any of the server configuration files. Is there a line of code I can use to telnet in and manually extract the war file?

  2. #2
    Join Date
    Nov 2002
    Normally with Tomcat I think you have to have access to the configuration files (like web.xml) or a configuration servlet to deploy the servlets. If you're using a service like then they have their own individual ways. With wars what I do it put them in the directory above the root directory...then add it to the web.xml and you don't have to decompress them...the newer Tomcats do it on their own.

    I'm no professional with fact, I got rid of it, so this is about as much help as I wanted...stuff like this confused me too much. Good luck.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
Latest Articles
Questions? Contact us.
Web Development
Latest Tips
Open Source

   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center