<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Meghana Sathe schrieb:
<blockquote
cite="midf05665180610170416l62d017abid8c59f40b175f8e5@mail.gmail.com"
type="cite">
<meta http-equiv="Context-Type"
content="text/html; charset=ISO-8859-1">
<div>ok</div>
<div>i have created a jsp which calls a servlet.</div>
<div> </div>
<div>I have created it in the Eclipse IDE.</div>
<div> </div>
<div>It runs perfectly in Eclipse.</div>
<div> </div>
<div>Now i want to do the same in open cms.</div>
<div> </div>
<div>I copied the .class file in the classes folder of the
Application i created under opencms.(under the tomcat directory)</div>
<div> </div>
<div>what other changes should i make? eg:web.xml?</div>
<div> </div>
<div>how can i import the servlet into opencms? </div>
<div> </div>
</blockquote>
Opencms is not a servlet container.<br>
<br>
If you want to run code *inside* of opencms, then you should call this
code from your JSP templates.<br>
If you want to run code as a servlet to generate complete results, then
you add it to your servlet container (e.g. tomcat) and your code runs
outside of opencms as a separate application.<br>
<br>
christian<br>
</body>
</html>