Web Hosting Java, JSP, Tomcat 6, J2EE, Servlets, Struts, Jboss
Web hosting forum - JavaSercer Pages Pick a compression format that’s appropriate
November 28, 2006 on 5:33 am | In Java | JavaSercer Pages Pick a compression format that’s appropriate for your platform. For Windows, select jakarta-tomcat.zip and save it to your hard drive, for instance in a directory named C:Jakarta. You can unpack the package either with a ZIP utility program such as WinZip, or by using the jar command that’s included in the Java distribution. Using the Command Prompt window where you set the JAVA_HOME and PATH environment variables earlier, change directory to the directory where you downloaded the ZIP file and unpack it: C:> cd Jakarta C:Jakarta> jar xvf jakarta-tomcat.zip For Unix platforms, download the jakarta-tomcat.tar.gz file, for instance to /usr/local, and use these commands to unpack it (assuming you have GNU tar installed): [hans@gefion /] cd /usr/local [hans@gefion /usr/local] tar xzvf jakarta-tomcat.tar.gz If you don’t have GNU tar installed on your system, you can use this command: [hans@gefion /usr/local] gunzip -c jakarta-tomcat.tar.gz | tar xvf This creates a directory structure with a top directory named jakarta-tomcat with a number of subdirectories. Like most software packages, the doc subdirectory contains a file named Readme ; do exactly that. Software distributions change and if, for instance, the instructions in this chapter no longer apply when you download the software, the Readme file should contain information about how to get started. You also need to set the TOMCAT_HOME environment variable. For Windows, use: C:Jakarta> set TOMCAT_HOME=C:Jakartajakarta-tomcat For Unix, use: [hans@gefion /usr/local] export TOMCAT_HOME=/usr/local/jakarta-tomcat The jakarta-tomcat directory contains a number of subdirectories: bin Scripts for starting the Tomcat server. conf Tomcat configuration files. doc Documents describing how to install and start Tomcat. Other documentation is available as web pages once the server is started. lib Binary (platform-dependent) modules for connecting Tomcat to other web servers such as Apache. src The source code for all servlet and JSP specification classes and interfaces. webapps Default location for web applications served by Tomcat. No matter what your platform, the bin directory contains both Windows batch files and Unix scripts for starting and stopping the server. page 36
Note: If you are looking for inexpensive but high quality provider to host and run your jsp application check Astra jsp hosting services
No Comments yet
Sorry, the comment form is closed at this time.
...I
just wanted to take the time to say "Thank you!" for our new webmail
system. It's great! Thanks for taking such good care of us.
Thanks
for helping me out. Just for the record, Webhostingjava.net has been a great
web host! So far your support and handling of questions has far
exceeded that of a "larger web hosting company".
I
would like to thank you for helping me with my domain...You have
shown me great patience and professionalism. I would not hesitate to
recommend you to my clients.