blob: f2b40a91f4eec09ee56180ebd5b3d2624cfd11fb [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>Working in the Servlets page</title>
<script language="JavaScript">
function popup_window( url, id, width, height )
{
popup = window.open( url, id, 'toolbar=no,scrollbars=no,location=no,statusbar=no,menubar=no,resizable=no,width=' + width + ',height=' + height + ',left=,top=' );
popup.focus();
}
</script><script language="JavaScript" src="help/liveHelp.js"></script></head>
<body id="twedtwbx2"><a name="twedtwbx2"><!-- --></a>
<h1 class="topictitle1">Working in the Servlets page</h1>
<div><div class="skipspace">In the <b>Servlets</b> page of the <a href="ccwebxml.html">Web
deployment descriptor editor</a>, you can add an existing servlet or JSP
file to the deployment descriptor or remove the selected servlet of JSP file
from the deployment descriptor.<p>To work in the <b>Servlets</b> page, complete
the following steps:</p>
</div>
<ol><li><span>Open a Web project in the Project Explorer.</span></li>
<li><span>Double-click the Web project's <b> Deployment Descriptor</b> file
in the Project Explorer. The Web deployment descriptor editor opens.</span></li>
<li><span>Click the<b> Servlets</b> tab to open the <b>Servlets</b> page.</span></li>
<li><span>You can edit settings in the following sections of the <b>Servlets</b> page: </span><ul><li>Servlets and JSPs - list servlets and JSPs used in this application.
You can add or remove servlets and JSPs from the list.</li>
<li>Details - lists details about the selected servlet or JSP. Details
listed include the servlet class (canonical name), the display name (a short
name for display purposes), and a description.</li>
<li>URL Mappings - lists URLs mapped to the selected servlet. </li>
<li>Initialization - lists the initialization parameters that are configured
for the selected servlet or JSP file</li>
<li>Load on Startup- enables you to specify the details of a servlet's
load-on-startup element, including load order.</li>
<li>Security role references - list the security roles referenced in the
Web application and lets you edit the security roles that are authorized
to access the servlet. You can add or remove security roles. If you add a
security role reference, you specify the role reference name, the role link,
and a description.</li>
<li>Run as - lists details of the selected servlet's run-as
element.</li>
<li>Icons - lets you view or change icons (small or large) used to represent
the selected servlet or JSP file.</li>
<li>WebSphere<sup>®</sup> Extensions
- list and lets you change the details of the Servlet Extension for the selected
servlet. You can add a new extension by clicking <b>Add</b>. The Add Markup
Language entry wizard appears. Also, depending on the Servlet Version of
the project you are working with, you can specify global and local transaction
settings.</li>
</ul>
</li>
</ol>
</div>
<div><p><b class="relconceptshd">Related concepts</b><br />
<a href="ccwebxml.html" title="">The Web deployment descriptor editor</a><br />
<!--<a href="../../com.ibm.etools.wrd.annotation.doc/topics/coverview.html">Annotation-based programming overview</a>--><br />
</p>
<p><b class="reltaskshd">Related tasks</b><br />
<a href="twedtwbx.html" title="">Configuring Web applications using the Web deployment descriptor editor</a><br />
</p>
</div><p>
(C) Copyright IBM Corporation 2000, 2005. All Rights Reserved.
</p>
</body>
</html>