<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2873" name=GENERATOR></HEAD>
<BODY>
<OL dir=ltr>
<LI>
<DIV align=left><SPAN class=851360507-17102006><FONT face=Arial color=#0000ff
size=2>The traditional approach is to write your servlets as Java
Classes</FONT></SPAN></DIV></LI>
<LI>
<DIV align=left><SPAN class=851360507-17102006><FONT face=Arial color=#0000ff
size=2>you may keep all the classes in the same
package</FONT></SPAN></DIV></LI>
<LI>
<DIV align=left><SPAN class=851360507-17102006><FONT face=Arial color=#0000ff
size=2>you compile the classes an put them in a JAR</FONT></SPAN></DIV></LI>
<LI>
<DIV align=left><SPAN class=851360507-17102006><FONT face=Arial color=#0000ff
size=2>Most Java IDE's (<STRONG>Eclipse is good and its free)</STRONG> will
allow you to </FONT></SPAN></DIV></LI>
<OL>
<LI>
<DIV align=left><SPAN class=851360507-17102006><FONT face=Arial
color=#0000ff size=2>start a Java Project </FONT></SPAN></DIV></LI>
<LI>
<DIV align=left><SPAN class=851360507-17102006><FONT face=Arial
color=#0000ff size=2>and add a package to your project<STRONG>
(com.me.for.you.my.package.name)</STRONG></FONT></SPAN></DIV></LI>
<LI>
<DIV align=left><SPAN class=851360507-17102006><FONT face=Arial
color=#0000ff size=2>then you add your Servlet Classes to the project
<STRONG>(MyJavaClass.java)</STRONG></FONT></SPAN></DIV></LI>
<LI>
<DIV align=left><SPAN class=851360507-17102006><FONT face=Arial
color=#0000ff size=2>you build the project (this tests your Java files for
bugs and if none it will compile them into classes</FONT></SPAN></DIV></LI>
<LI>
<DIV align=left><SPAN class=851360507-17102006><FONT face=Arial
color=#0000ff size=2>now you export the project as a
JAR</FONT></SPAN></DIV></LI></OL>
<LI>
<DIV align=left><SPAN class=851360507-17102006><FONT face=Arial color=#0000ff
size=2>Place your JAR in the LIB folder in
Tomcat</FONT> </SPAN></DIV></LI>
<LI>
<DIV align=left><SPAN class=851360507-17102006><FONT face=Arial color=#0000ff
size=2>To access the code in your Servlets you need to add an include
directive you your JSP's <BR><FONT size=3><STRONG> <%@ page
import="com.me.for.you.my.package.name.<FONT size=5>*</FONT>" %>
<BR><BR></STRONG>or for a specific class<BR><BR><STRONG> <%@ page
import="com.me.for.you.my.package.name.<FONT size=2>MyJavaClass</FONT>" %>
<BR></STRONG></FONT></FONT></SPAN></DIV></LI></OL>
<DIV dir=ltr align=left><SPAN class=851360507-17102006><FONT face=Arial
color=#0000ff>I hope this is simple enough to get you going</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=851360507-17102006><FONT face=Arial
color=#0000ff></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=851360507-17102006><FONT face=Arial
color=#0000ff>Regards</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=851360507-17102006><FONT face=Arial
color=#0000ff>Nico</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=851360507-17102006><FONT face=Arial
color=#0000ff></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=851360507-17102006><FONT face=Arial
color=#0000ff>Visit the Ubuntu OpenSource Project for nice OpenCms Templates its
an excellent starter kit for professional web pages</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=851360507-17102006><FONT face=Arial
color=#0000ff><A
href="http://www.ptaisp.co.za/ubuntu">http://www.ptaisp.co.za/ubuntu</A></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=851360507-17102006><FONT face=Arial
color=#0000ff></FONT></SPAN> </DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> opencms-dev-bounces@opencms.org
[mailto:opencms-dev-bounces@opencms.org] <B>On Behalf Of </B>Meghana
Sathe<BR><B>Sent:</B> Tuesday, 17 October, 2006 8:44 AM<BR><B>To:</B>
opencms-dev@opencms.org<BR><B>Subject:</B> [opencms-dev] servlets in
opencms!<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV>Can anybody tell me how servlets can be deployed in OpenCMS?</DIV>
<DIV> </DIV>
<DIV>The exact steps pls!!!</DIV>
<DIV>Thanks,</DIV>
<DIV>Meghana</DIV><P>
<BR>
___________________________________________________________<BR>
<BR>
Important Notice:<BR>
Authorised Financial Services Provider<BR>
<BR>
Important restrictions, qualifications and disclaimers <BR>
("the Disclaimer") apply to this email. To read this click on the <BR>
following address or copy into your Internet browser: <BR>
<BR>
http://www.absa.co.za/disclaimer<BR>
<BR>
The Disclaimer forms part of the content of this email in terms of <BR>
section 11 of the Electronic Communications and Transactions <BR>
Act, 25 of 2002. <BR>
<BR>
If you are unable to access the Disclaimer, send a blank e-mail <BR>
to disclaimer@absa.co.za and we will send you a copy of the <BR>
Disclaimer.<BR>
</BODY></HTML>