|
Java Servlets and JSPs
Java Servlets
technology provides Web developers with a simple, consistent mechanism
for extending the functionality of a Web server. A servlet can almost
be thought of as an applet that runs on the server side.
JavaServer Pages (JSP)
is a server-side technology that is an extension
to the Java Servlet technology. JSPs have dynamic scripting capabililty
that works in tandem with HTML code, separating the page logic from the
static elements--the actual design and display of the page.
Tomcat
Java Servlets and JSPs are made available on the Solaris
Virtual Server via Tomcat,
the flagship product of the Apache
Jakarta Project.
Tomcat is a world-class implementation of the Java Servlet 2.2
and Java Server Pages 1.1 Specifications.
Installation
In order to configure your Apache Web Server to
serve Java Servlets and JSPs, do the following.
-
Install Java (JDK 2).
-
Install the Jakarta Tomcat Server.
Telnet or SSH
and run this command:
% vinstall tomcat
This is the Java Servlet engine. It knows how to parse
JavaServer pages, Java Servlets, and other kinds of things. It runs a web
server on port 8080 and has a special jserv-type protocol listening on
8007. It also has an enhanced and improved protocol listening on 8009,
which is what mod_jk Apache Module talks to it on. The mod_jserv Apache
Module talks on 8007.
-
Install the mod_jk Apache Module
More Information
For more information, see:
|
|