|
Web
Hosting Manual & Guide
|
|
|
Note:
To activate JSP/TOMCAT
support on your account you should send a JSP
install request. Please fill this form.
TOMCAT
FAQ
Apache Tomcat.
Tomcat is
the servlet container that is used in the official
Reference Implementation for the Java
Servlet and JavaServer
Pages technologies. The Java Servlet
and JavaServer Pages specifications are developed
by Sun under the Java
Community Process.
Tomcat
4.0 implements a new servlet container
(called Catalina) that is based on completely new
architecture. The 4.0 release implements the Servlet
2.3 and JSP 1.2
specifications.
You can store
your own classes and Jars with Tomcat. You can
place them in public_html/web-inf as defined by the Tomcat
documentation.
You can find the Tomcat
documentation at the following
location:
http://jakarta.apache.org/tomcat/tomcat-4.0-doc/appdev/index.html
JDBC Connection
String:
<%@ page import="java.sql.*" %>
Connection connection = null;
Class.forName("org.gjt.mm.mysql.Driver").newInstance();
connection = DriverManager.getConnection(
"jdbc:mysql://localhost/db_name?user=db_username&password=<PASSWORD HERE>");
|