How to choose an ideal outsourced technical support companyRead More
Wednesday, May 16, 2012 12:43:58 PM Asia/Calcutta
Sunday, May 6, 2012 1:56:51 AM Asia/Calcutta
How to boot Linux server in new kernel once for testingRead More
Sunday, May 6, 2012 1:20:14 AM Asia/Calcutta
How to remove SQL Server database from single-user modeRead More
Sunday, May 6, 2012 12:21:55 AM Asia/Calcutta
Installing RED5 Media server on CentOS ServerRead More
Saturday, May 5, 2012 4:27:18 PM Asia/Calcutta
Tomcat implements the Java Servlet and the JavaServer Pages (JSP) specifications from Sun Microsystems, and provides a "pureJava" HTTP web server environment for Java code to run.
Experienced users can build and install Tomcat manually from source code after installing such dependencies as the Java Development Kit and the Apache Ant build tool. Depending on the usage scenario, Tomcat may either be deployed as a standalone pure-Java web server or as a component in a more complex configuration in which it serves as a back-end which handles requests passed to it from a general purpose web server such as Apache, using a connector such as mod_jk.
- Reduced garbage collection, improved performance and scalability
- Faster JSP parsing
- Native Windows and Unix wrappers for platform integration
- Implements the Servlet 2.4 and JSP 2.0 specification
There are a number of different methods to start and stop Tomcat 3.3.
There are differences in the environmental setup needed for these methods. This section addresses the environmental setup needed for using the shell scripts and batch files provided to simplify starting and stopping Tomcat.
JAVA_HOME=/usr/local/java/jdk1.4.x; export JAVA_HOME
PATH=$JAVA_HOME/bin:$PATH; export PATH
Download it from http://tomcat.apache.org/download-55.cgi
Tomcat 5.5 version requires jdk 1.4 minimum.
# cd jakarta-tomcat-version
# cd bin #tar xvfz jsvc.tar.gz
# cd jsvc-src
# chmod +x configure
# cp jsvc ..
# cd ..
Run Tomcat using the below command:
Open web browser and type http://localhost:8080/ you should see the Tomcat Administration page
Go to webapps/ROOT in the tomcat directory and create page hello.html and write in it. Open the URL http://localhost:8080/hello.html you should see your page.
Make JSP page
go to webapps/ROOT in the tomcat directory and create page hello.jsp and write in
it the following lines.
<%=new String("Hello WebHostingRepo")%>
Save and run the following URL http://localhost:8080/hello.jsp
and you should be seeing "Hello WebHostingRepo".
go to the tomcat bin directory
Saturday, May 5, 2012 4:10:10 PM Asia/Calcutta
Installing Git in a Linux cPanel serverRead More