Apache Tomcat is an open source software implementation of the Java Servlet
and JavaServer Pages technologies. The Java Servlet and JavaServer Pages
specifications are developed under the
Java Community
Process.
Prior to installing tomcat make sure that your have installed java.
Then Follow the following steps to install the tomcat servlet container.
achala@achala-HP-Pavilion-dv6-Notebook-PC:~/tomcat/apache-tomcat-7.0.21/bin$ ./startup.sh
Using CATALINA_BASE: /home/achala/tomcat/apache-tomcat-7.0.21
Using CATALINA_HOME: /home/achala/tomcat/apache-tomcat-7.0.21
Using CATALINA_TMPDIR: /home/achala/tomcat/apache-tomcat-7.0.21/temp
Using JRE_HOME: /usr
Using CLASSPATH: /home/achala/tomcat/apache-tomcat-7.0.21/bin/bootstrap.jar:/home/achala/tomcat/apache-tomcat-7.0.21/bin/tomcat-juli.jar
achala@achala-HP-Pavilion-dv6-Notebook-PC:~/tomcat/apache-tomcat-7.0.21/bin$
Open your web browser and type http://localhost:8080/
Next you can try a jsp
Go to apache-tomcat-7.0.21/webapps/ROOT and place your .jsp file there.
Then open your web browser and type
http://localhost:8080/yourfilename.jsp
Prior to installing tomcat make sure that your have installed java.
Then Follow the following steps to install the tomcat servlet container.
- Download Apache tomcat from the Apache web site
- Unzip (extract) the downloaded zip file using the 'unzip' command
- Open the terminal and go to the bin folder of the tomcat directory
- Then run this command './startup.sh'
- You will see something similar to following in the terminal
achala@achala-HP-Pavilion-dv6-Notebook-PC:~/tomcat/apache-tomcat-7.0.21/bin$ ./startup.sh
Using CATALINA_BASE: /home/achala/tomcat/apache-tomcat-7.0.21
Using CATALINA_HOME: /home/achala/tomcat/apache-tomcat-7.0.21
Using CATALINA_TMPDIR: /home/achala/tomcat/apache-tomcat-7.0.21/temp
Using JRE_HOME: /usr
Using CLASSPATH: /home/achala/tomcat/apache-tomcat-7.0.21/bin/bootstrap.jar:/home/achala/tomcat/apache-tomcat-7.0.21/bin/tomcat-juli.jar
achala@achala-HP-Pavilion-dv6-Notebook-PC:~/tomcat/apache-tomcat-7.0.21/bin$
Open your web browser and type http://localhost:8080/
Next you can try a jsp
Go to apache-tomcat-7.0.21/webapps/ROOT and place your .jsp file there.
Then open your web browser and type
http://localhost:8080/yourfilename.jsp
No comments:
Post a Comment