1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
5
<!-- Generated by javadoc on Fri Aug 22 03:43:59 EDT 2003 -->
7
ActionComponentServlet (Apache Struts API Documentation)
9
<META NAME="keywords" CONTENT="org.apache.struts.tiles.ActionComponentServlet,ActionComponentServlet class">
10
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
15
parent.document.title="ActionComponentServlet (Apache Struts API Documentation)";
18
<BODY BGCOLOR="white" onload="asd();">
20
<!-- ========== START OF NAVBAR ========== -->
21
<A NAME="navbar_top"><!-- --></A>
22
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
24
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
25
<A NAME="navbar_top_firstrow"><!-- --></A>
26
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
27
<TR ALIGN="center" VALIGN="top">
28
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
29
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
30
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
31
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/ActionComponentServlet.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
32
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
33
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
34
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
35
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
39
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
45
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
46
PREV CLASS
47
<A HREF="../../../../org/apache/struts/tiles/ActionController.html"><B>NEXT CLASS</B></A></FONT></TD>
48
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
49
<A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>
50
<A HREF="ActionComponentServlet.html" TARGET="_top"><B>NO FRAMES</B></A>
55
document.writeln('<A HREF="../../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
60
<A HREF="../../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
65
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
66
SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
67
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
68
DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
71
<!-- =========== END OF NAVBAR =========== -->
74
<!-- ======== START OF CLASS DATA ======== -->
77
org.apache.struts.tiles</FONT>
79
Class ActionComponentServlet</H2>
83
+--javax.servlet.GenericServlet
85
+--javax.servlet.http.HttpServlet
87
+--<A HREF="../../../../org/apache/struts/action/ActionServlet.html">org.apache.struts.action.ActionServlet</A>
89
+--<B>org.apache.struts.tiles.ActionComponentServlet</B>
92
<DT><B>All Implemented Interfaces:</B> <DD>java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig</DD>
95
<B>Deprecated.</B> <I>Tiles now uses ActionServlet with TilesPlugin and TilesRequestProcessor.</I>
98
<DT>public class <B>ActionComponentServlet</B><DT>extends <A HREF="../../../../org/apache/struts/action/ActionServlet.html">ActionServlet</A></DL>
101
Action Servlet to be used with Tiles and Struts 1.0.x.
102
For Struts 1.1, use TilesPlugin and eventualy TilesRequestProcessor.
103
This servlet extends struts one. It adds channels and screens dispatching
105
We overide all methods that do request forward (i.e. 'processActionForward'
106
and 'processValidate') in order to call a new method performing forward.
107
In fact, we copy methods to overide, and change lines doing forward which
108
now call 'processForward()'. Rest of the method is unchanged.
109
This new method could now be overiden in order to dispatch request before
111
Compliant to ActionServlet from struts 2001/06/25 00:02:27
116
<DT><B>See Also:</B><DD><A HREF="../../../../serialized-form.html" TARGET="org.apache.struts.tiles.ActionComponentServlet">Serialized Form</A></DL>
120
<!-- ======== NESTED CLASS SUMMARY ======== -->
123
<!-- =========== FIELD SUMMARY =========== -->
125
<A NAME="field_summary"><!-- --></A>
126
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
127
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
128
<TD COLSPAN=2><FONT SIZE="+2">
129
<B>Field Summary</B></FONT></TD>
131
<TR BGCOLOR="white" CLASS="TableRowColor">
132
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
133
<CODE>private <A HREF="../../../../org/apache/struts/tiles/DefinitionsFactory.html">DefinitionsFactory</A></CODE></FONT></TD>
134
<TD><CODE><B><A HREF="../../../../org/apache/struts/tiles/ActionComponentServlet.html#definitionsFactory">definitionsFactory</A></B></CODE>
137
<B>Deprecated.</B> Definitions factory</TD>
140
<A NAME="fields_inherited_from_class_org.apache.struts.action.ActionServlet"><!-- --></A>
141
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
142
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
143
<TD><B>Fields inherited from class org.apache.struts.action.<A HREF="../../../../org/apache/struts/action/ActionServlet.html">ActionServlet</A></B></TD>
145
<TR BGCOLOR="white" CLASS="TableRowColor">
146
<TD><CODE><A HREF="../../../../org/apache/struts/action/ActionServlet.html#config">config</A>, <A HREF="../../../../org/apache/struts/action/ActionServlet.html#configDigester">configDigester</A>, <A HREF="../../../../org/apache/struts/action/ActionServlet.html#convertNull">convertNull</A>, <A HREF="../../../../org/apache/struts/action/ActionServlet.html#dataSources">dataSources</A>, <A HREF="../../../../org/apache/struts/action/ActionServlet.html#debug">debug</A>, <A HREF="../../../../org/apache/struts/action/ActionServlet.html#internal">internal</A>, <A HREF="../../../../org/apache/struts/action/ActionServlet.html#internalName">internalName</A>, <A HREF="../../../../org/apache/struts/action/ActionServlet.html#log">log</A>, <A HREF="../../../../org/apache/struts/action/ActionServlet.html#processor">processor</A>, <A HREF="../../../../org/apache/struts/action/ActionServlet.html#registrations">registrations</A>, <A HREF="../../../../org/apache/struts/action/ActionServlet.html#servletMapping">servletMapping</A>, <A HREF="../../../../org/apache/struts/action/ActionServlet.html#servletName">servletName</A></CODE></TD>
149
<A NAME="fields_inherited_from_class_javax.servlet.http.HttpServlet"><!-- --></A>
150
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
151
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
152
<TD><B>Fields inherited from class javax.servlet.http.HttpServlet</B></TD>
154
<TR BGCOLOR="white" CLASS="TableRowColor">
155
<TD><CODE></CODE></TD>
159
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
161
<A NAME="constructor_summary"><!-- --></A>
162
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
163
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
164
<TD COLSPAN=2><FONT SIZE="+2">
165
<B>Constructor Summary</B></FONT></TD>
167
<TR BGCOLOR="white" CLASS="TableRowColor">
168
<TD><CODE><B><A HREF="../../../../org/apache/struts/tiles/ActionComponentServlet.html#ActionComponentServlet()">ActionComponentServlet</A></B>()</CODE>
171
<B>Deprecated.</B> </TD>
175
<!-- ========== METHOD SUMMARY =========== -->
177
<A NAME="method_summary"><!-- --></A>
178
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
179
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
180
<TD COLSPAN=2><FONT SIZE="+2">
181
<B>Method Summary</B></FONT></TD>
183
<TR BGCOLOR="white" CLASS="TableRowColor">
184
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
185
<CODE>protected void</CODE></FONT></TD>
186
<TD><CODE><B><A HREF="../../../../org/apache/struts/tiles/ActionComponentServlet.html#doForward(java.lang.String, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)">doForward</A></B>(java.lang.String uri,
187
javax.servlet.http.HttpServletRequest request,
188
javax.servlet.http.HttpServletResponse response)</CODE>
191
<B>Deprecated.</B> Do a forward, and eventually catch uri containing Tiles definition.</TD>
193
<TR BGCOLOR="white" CLASS="TableRowColor">
194
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
195
<CODE> void</CODE></FONT></TD>
196
<TD><CODE><B><A HREF="../../../../org/apache/struts/tiles/ActionComponentServlet.html#init()">init</A></B>()</CODE>
199
<B>Deprecated.</B> Init method.</TD>
201
<TR BGCOLOR="white" CLASS="TableRowColor">
202
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
203
<CODE> void</CODE></FONT></TD>
204
<TD><CODE><B><A HREF="../../../../org/apache/struts/tiles/ActionComponentServlet.html#initComponentDefinitionsMapping()">initComponentDefinitionsMapping</A></B>()</CODE>
207
<B>Deprecated.</B> Read component instance mapping configuration file.</TD>
209
<TR BGCOLOR="white" CLASS="TableRowColor">
210
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
211
<CODE>protected void</CODE></FONT></TD>
212
<TD><CODE><B><A HREF="../../../../org/apache/struts/tiles/ActionComponentServlet.html#processActionForward(org.apache.struts.action.ActionForward, org.apache.struts.action.ActionMapping, org.apache.struts.action.ActionForm, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)">processActionForward</A></B>(<A HREF="../../../../org/apache/struts/action/ActionForward.html">ActionForward</A> forward,
213
<A HREF="../../../../org/apache/struts/action/ActionMapping.html">ActionMapping</A> mapping,
214
<A HREF="../../../../org/apache/struts/action/ActionForm.html">ActionForm</A> formInstance,
215
javax.servlet.http.HttpServletRequest request,
216
javax.servlet.http.HttpServletResponse response)</CODE>
219
<B>Deprecated.</B> Overload struts1.0 counterpart in order to catch forward calls.</TD>
221
<TR BGCOLOR="white" CLASS="TableRowColor">
222
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
223
<CODE>protected boolean</CODE></FONT></TD>
224
<TD><CODE><B><A HREF="../../../../org/apache/struts/tiles/ActionComponentServlet.html#processForward(org.apache.struts.action.ActionMapping, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)">processForward</A></B>(<A HREF="../../../../org/apache/struts/action/ActionMapping.html">ActionMapping</A> mapping,
225
javax.servlet.http.HttpServletRequest request,
226
javax.servlet.http.HttpServletResponse response)</CODE>
229
<B>Deprecated.</B> Overload struts1.0 counterpart in order to catch forward calls.</TD>
231
<TR BGCOLOR="white" CLASS="TableRowColor">
232
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
233
<CODE>protected void</CODE></FONT></TD>
234
<TD><CODE><B><A HREF="../../../../org/apache/struts/tiles/ActionComponentServlet.html#processForward(java.lang.String, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)">processForward</A></B>(java.lang.String uri,
235
javax.servlet.http.HttpServletRequest request,
236
javax.servlet.http.HttpServletResponse response)</CODE>
239
<B>Deprecated.</B> <I>use doForward instead</I></TD>
241
<TR BGCOLOR="white" CLASS="TableRowColor">
242
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
243
<CODE>protected boolean</CODE></FONT></TD>
244
<TD><CODE><B><A HREF="../../../../org/apache/struts/tiles/ActionComponentServlet.html#processInclude(org.apache.struts.action.ActionMapping, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)">processInclude</A></B>(<A HREF="../../../../org/apache/struts/action/ActionMapping.html">ActionMapping</A> mapping,
245
javax.servlet.http.HttpServletRequest request,
246
javax.servlet.http.HttpServletResponse response)</CODE>
249
<B>Deprecated.</B> Overload struts1.0 counterpart in order to catch include calls.</TD>
251
<TR BGCOLOR="white" CLASS="TableRowColor">
252
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
253
<CODE>protected boolean</CODE></FONT></TD>
254
<TD><CODE><B><A HREF="../../../../org/apache/struts/tiles/ActionComponentServlet.html#processValidate(org.apache.struts.action.ActionMapping, org.apache.struts.action.ActionForm, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)">processValidate</A></B>(<A HREF="../../../../org/apache/struts/action/ActionMapping.html">ActionMapping</A> mapping,
255
<A HREF="../../../../org/apache/struts/action/ActionForm.html">ActionForm</A> formInstance,
256
javax.servlet.http.HttpServletRequest request,
257
javax.servlet.http.HttpServletResponse response)</CODE>
260
<B>Deprecated.</B> Overload struts1.0 counterpart in order to catch forward calls.</TD>
263
<A NAME="methods_inherited_from_class_org.apache.struts.action.ActionServlet"><!-- --></A>
264
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
265
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
266
<TD><B>Methods inherited from class org.apache.struts.action.<A HREF="../../../../org/apache/struts/action/ActionServlet.html">ActionServlet</A></B></TD>
268
<TR BGCOLOR="white" CLASS="TableRowColor">
269
<TD><CODE><A HREF="../../../../org/apache/struts/action/ActionServlet.html#addServletMapping(java.lang.String, java.lang.String)">addServletMapping</A>, <A HREF="../../../../org/apache/struts/action/ActionServlet.html#destroy()">destroy</A>, <A HREF="../../../../org/apache/struts/action/ActionServlet.html#destroyApplications()">destroyApplications</A>, <A HREF="../../../../org/apache/struts/action/ActionServlet.html#destroyConfigDigester()">destroyConfigDigester</A>, <A HREF="../../../../org/apache/struts/action/ActionServlet.html#destroyDataSources()">destroyDataSources</A>, <A HREF="../../../../org/apache/struts/action/ActionServlet.html#destroyInternal()">destroyInternal</A>, <A HREF="../../../../org/apache/struts/action/ActionServlet.html#destroyModules()">destroyModules</A>, <A HREF="../../../../org/apache/struts/action/ActionServlet.html#doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)">doGet</A>, <A HREF="../../../../org/apache/struts/action/ActionServlet.html#doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)">doPost</A>, <A HREF="../../../../org/apache/struts/action/ActionServlet.html#findDataSource(java.lang.String)">findDataSource</A>, <A HREF="../../../../org/apache/struts/action/ActionServlet.html#findFormBean(java.lang.String)">findFormBean</A>, <A HREF="../../../../org/apache/struts/action/ActionServlet.html#findForward(java.lang.String)">findForward</A>, <A HREF="../../../../org/apache/struts/action/ActionServlet.html#findMapping(java.lang.String)">findMapping</A>, <A HREF="../../../../org/apache/struts/action/ActionServlet.html#getApplicationConfig(javax.servlet.http.HttpServletRequest)">getApplicationConfig</A>, <A HREF="../../../../org/apache/struts/action/ActionServlet.html#getDebug()">getDebug</A>, <A HREF="../../../../org/apache/struts/action/ActionServlet.html#getInternal()">getInternal</A>, <A HREF="../../../../org/apache/struts/action/ActionServlet.html#getModuleConfig(javax.servlet.http.HttpServletRequest)">getModuleConfig</A>, <A HREF="../../../../org/apache/struts/action/ActionServlet.html#getRequestProcessor(org.apache.struts.config.ModuleConfig)">getRequestProcessor</A>, <A HREF="../../../../org/apache/struts/action/ActionServlet.html#getResources()">getResources</A>, <A HREF="../../../../org/apache/struts/action/ActionServlet.html#initApplicationConfig(java.lang.String, java.lang.String)">initApplicationConfig</A>, <A HREF="../../../../org/apache/struts/action/ActionServlet.html#initApplicationDataSources(org.apache.struts.config.ModuleConfig)">initApplicationDataSources</A>, <A HREF="../../../../org/apache/struts/action/ActionServlet.html#initApplicationMessageResources(org.apache.struts.config.ModuleConfig)">initApplicationMessageResources</A>, <A HREF="../../../../org/apache/struts/action/ActionServlet.html#initApplicationPlugIns(org.apache.struts.config.ModuleConfig)">initApplicationPlugIns</A>, <A HREF="../../../../org/apache/struts/action/ActionServlet.html#initConfigDigester()">initConfigDigester</A>, <A HREF="../../../../org/apache/struts/action/ActionServlet.html#initDataSources()">initDataSources</A>, <A HREF="../../../../org/apache/struts/action/ActionServlet.html#initInternal()">initInternal</A>, <A HREF="../../../../org/apache/struts/action/ActionServlet.html#initModuleConfig(java.lang.String, java.lang.String)">initModuleConfig</A>, <A HREF="../../../../org/apache/struts/action/ActionServlet.html#initModuleDataSources(org.apache.struts.config.ModuleConfig)">initModuleDataSources</A>, <A HREF="../../../../org/apache/struts/action/ActionServlet.html#initModuleMessageResources(org.apache.struts.config.ModuleConfig)">initModuleMessageResources</A>, <A HREF="../../../../org/apache/struts/action/ActionServlet.html#initModulePlugIns(org.apache.struts.config.ModuleConfig)">initModulePlugIns</A>, <A HREF="../../../../org/apache/struts/action/ActionServlet.html#initOther()">initOther</A>, <A HREF="../../../../org/apache/struts/action/ActionServlet.html#initServlet()">initServlet</A>, <A HREF="../../../../org/apache/struts/action/ActionServlet.html#log(java.lang.String, int)">log</A>, <A HREF="../../../../org/apache/struts/action/ActionServlet.html#process(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)">process</A></CODE></TD>
272
<A NAME="methods_inherited_from_class_javax.servlet.http.HttpServlet"><!-- --></A>
273
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
274
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
275
<TD><B>Methods inherited from class javax.servlet.http.HttpServlet</B></TD>
277
<TR BGCOLOR="white" CLASS="TableRowColor">
278
<TD><CODE>doDelete, doOptions, doPut, doTrace, getLastModified, service, service</CODE></TD>
281
<A NAME="methods_inherited_from_class_javax.servlet.GenericServlet"><!-- --></A>
282
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
283
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
284
<TD><B>Methods inherited from class javax.servlet.GenericServlet</B></TD>
286
<TR BGCOLOR="white" CLASS="TableRowColor">
287
<TD><CODE>getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log</CODE></TD>
290
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
291
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
292
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
293
<TD><B>Methods inherited from class java.lang.Object</B></TD>
295
<TR BGCOLOR="white" CLASS="TableRowColor">
296
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
302
<!-- ============ FIELD DETAIL =========== -->
304
<A NAME="field_detail"><!-- --></A>
305
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
306
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
307
<TD COLSPAN=1><FONT SIZE="+2">
308
<B>Field Detail</B></FONT></TD>
312
<A NAME="definitionsFactory"><!-- --></A><H3>
313
definitionsFactory</H3>
315
private <A HREF="../../../../org/apache/struts/tiles/DefinitionsFactory.html">DefinitionsFactory</A> <B>definitionsFactory</B></PRE>
317
<DD><B>Deprecated.</B> <DD>Definitions factory
323
<!-- ========= CONSTRUCTOR DETAIL ======== -->
325
<A NAME="constructor_detail"><!-- --></A>
326
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
327
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
328
<TD COLSPAN=1><FONT SIZE="+2">
329
<B>Constructor Detail</B></FONT></TD>
333
<A NAME="ActionComponentServlet()"><!-- --></A><H3>
334
ActionComponentServlet</H3>
336
public <B>ActionComponentServlet</B>()</PRE>
338
<DD><B>Deprecated.</B> </DL>
340
<!-- ============ METHOD DETAIL ========== -->
342
<A NAME="method_detail"><!-- --></A>
343
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
344
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
345
<TD COLSPAN=1><FONT SIZE="+2">
346
<B>Method Detail</B></FONT></TD>
350
<A NAME="init()"><!-- --></A><H3>
353
public void <B>init</B>()
354
throws javax.servlet.ServletException</PRE>
356
<DD><B>Deprecated.</B> <DD>Init method.
357
This method is call on any servlet.
360
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/apache/struts/action/ActionServlet.html#init()">init</A></CODE> in class <CODE><A HREF="../../../../org/apache/struts/action/ActionServlet.html">ActionServlet</A></CODE></DL>
365
<DD><CODE>javax.servlet.ServletException</CODE> - if we cannot configure ourselves correctly</DL>
370
<A NAME="initComponentDefinitionsMapping()"><!-- --></A><H3>
371
initComponentDefinitionsMapping</H3>
373
public void <B>initComponentDefinitionsMapping</B>()
374
throws javax.servlet.ServletException</PRE>
376
<DD><B>Deprecated.</B> <DD>Read component instance mapping configuration file.
377
This is where we read files properties.
381
<DD><CODE>javax.servlet.ServletException</CODE></DL>
386
<A NAME="processActionForward(org.apache.struts.action.ActionForward, org.apache.struts.action.ActionMapping, org.apache.struts.action.ActionForm, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)"><!-- --></A><H3>
387
processActionForward</H3>
389
protected void <B>processActionForward</B>(<A HREF="../../../../org/apache/struts/action/ActionForward.html">ActionForward</A> forward,
390
<A HREF="../../../../org/apache/struts/action/ActionMapping.html">ActionMapping</A> mapping,
391
<A HREF="../../../../org/apache/struts/action/ActionForm.html">ActionForm</A> formInstance,
392
javax.servlet.http.HttpServletRequest request,
393
javax.servlet.http.HttpServletResponse response)
394
throws java.io.IOException,
395
javax.servlet.ServletException</PRE>
397
<DD><B>Deprecated.</B> <DD>Overload struts1.0 counterpart in order to catch forward calls.
398
This is an exact copy, except the call to RequestDispatcher.forward()
399
replaced by doForward().
400
This method is only used with Struts1.0.x
402
Forward to the specified destination, by the specified mechanism,
403
if an <code>ActionForward</code> instance was returned by the
407
<DT><B>Parameters:</B><DD><CODE>forward</CODE> - The ActionForward returned by our action<DD><CODE>mapping</CODE> - The ActionMapping we are processing<DD><CODE>formInstance</CODE> - The ActionForm we are processing<DD><CODE>request</CODE> - The servlet request we are processing<DD><CODE>response</CODE> - The servlet response we are creating
409
<DD><CODE>java.io.IOException</CODE> - if an input/output error occurs
410
<DD><CODE>javax.servlet.ServletException</CODE> - if a servlet exception occurs</DL>
415
<A NAME="processValidate(org.apache.struts.action.ActionMapping, org.apache.struts.action.ActionForm, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)"><!-- --></A><H3>
418
protected boolean <B>processValidate</B>(<A HREF="../../../../org/apache/struts/action/ActionMapping.html">ActionMapping</A> mapping,
419
<A HREF="../../../../org/apache/struts/action/ActionForm.html">ActionForm</A> formInstance,
420
javax.servlet.http.HttpServletRequest request,
421
javax.servlet.http.HttpServletResponse response)
422
throws java.io.IOException,
423
javax.servlet.ServletException</PRE>
425
<DD><B>Deprecated.</B> <DD>Overload struts1.0 counterpart in order to catch forward calls.
426
This is an exact copy, except the call to RequestDispatcher.forward()
427
replaced by doForward().
428
This method is only used with Struts1.0.x
430
Call the <code>validate()</code> method of the specified ActionForm,
431
and forward back to the input form if there are any errors. Return
432
<code>true</code> if we should continue processing (and call the
433
<code>Action</code> class <code>perform()</code> method), or return
434
<code>false</code> if we have already forwarded control back to the
438
<DT><B>Parameters:</B><DD><CODE>mapping</CODE> - The ActionMapping we are processing<DD><CODE>formInstance</CODE> - The ActionForm we are processing<DD><CODE>request</CODE> - The servlet request we are processing<DD><CODE>response</CODE> - The servlet response we are processing
440
<DD><CODE>java.io.IOException</CODE> - if an input/output error occurs
441
<DD><CODE>javax.servlet.ServletException</CODE> - if a servlet exception occurs</DL>
446
<A NAME="processForward(org.apache.struts.action.ActionMapping, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)"><!-- --></A><H3>
449
protected boolean <B>processForward</B>(<A HREF="../../../../org/apache/struts/action/ActionMapping.html">ActionMapping</A> mapping,
450
javax.servlet.http.HttpServletRequest request,
451
javax.servlet.http.HttpServletResponse response)
452
throws java.io.IOException,
453
javax.servlet.ServletException</PRE>
455
<DD><B>Deprecated.</B> <DD>Overload struts1.0 counterpart in order to catch forward calls.
456
This is an exact copy, except the call to RequestDispatcher.forward()
457
replaced by doForward().
458
This method is only used with Struts1.0.x
460
Process a forward requested by this mapping, if any. Return
461
<code>true</code> if processing of this request should continue (i.e.
462
be processed by an Action class), or <code>false</code> if we have
463
already handled this request.
466
<DT><B>Parameters:</B><DD><CODE>mapping</CODE> - The ActionMapping we are processing<DD><CODE>request</CODE> - The request we are processing<DD><CODE>response</CODE> - The response we are processing
468
<DD><CODE>java.io.IOException</CODE> - if the included resource throws an exception
469
<DD><CODE>javax.servlet.ServletException</CODE> - if the included resource throws an
475
<A NAME="processInclude(org.apache.struts.action.ActionMapping, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)"><!-- --></A><H3>
478
protected boolean <B>processInclude</B>(<A HREF="../../../../org/apache/struts/action/ActionMapping.html">ActionMapping</A> mapping,
479
javax.servlet.http.HttpServletRequest request,
480
javax.servlet.http.HttpServletResponse response)
481
throws java.io.IOException,
482
javax.servlet.ServletException</PRE>
484
<DD><B>Deprecated.</B> <DD>Overload struts1.0 counterpart in order to catch include calls.
485
This is an exact copy, except the call to RequestDispatcher.include()
486
replaced by doInclude().
487
This method is only used with Struts1.0.x
489
Process an include requested by this mapping, if any. Return
490
<code>true</code> if processing of this request should continue (i.e.
491
be processed by an Action class), or <code>false</code> if we have
492
already handled this request.
495
<DT><B>Parameters:</B><DD><CODE>mapping</CODE> - The ActionMapping we are processing<DD><CODE>request</CODE> - The request we are processing<DD><CODE>response</CODE> - The response we are processing
497
<DD><CODE>java.io.IOException</CODE> - if the included resource throws an exception
498
<DD><CODE>javax.servlet.ServletException</CODE> - if the included resource throws an
504
<A NAME="processForward(java.lang.String, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)"><!-- --></A><H3>
507
protected void <B>processForward</B>(java.lang.String uri,
508
javax.servlet.http.HttpServletRequest request,
509
javax.servlet.http.HttpServletResponse response)
510
throws java.io.IOException,
511
javax.servlet.ServletException</PRE>
513
<DD><B>Deprecated.</B> <I>use doForward instead</I>
515
<DD>Do forward, and eventually catch uri containing Tiles definition.
516
Method left for compatibility reasons.
519
<DT><B>Parameters:</B><DD><CODE>uri</CODE> - Uri or Definition name to forward<DD><CODE>request</CODE> - Current page request<DD><CODE>response</CODE> - Current page response
520
<DD><CODE>java.io.IOException</CODE>
521
<DD><CODE>javax.servlet.ServletException</CODE></DL>
526
<A NAME="doForward(java.lang.String, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)"><!-- --></A><H3>
529
protected void <B>doForward</B>(java.lang.String uri,
530
javax.servlet.http.HttpServletRequest request,
531
javax.servlet.http.HttpServletResponse response)
532
throws java.io.IOException,
533
javax.servlet.ServletException</PRE>
535
<DD><B>Deprecated.</B> <DD>Do a forward, and eventually catch uri containing Tiles definition.
536
If uri is a valid uri, do a forward to it.
537
If uri is a valid definition name, Tiles context is created from definition,
538
and definition path is used as uri.
541
<DT><B>Parameters:</B><DD><CODE>uri</CODE> - Uri or Definition name to forward<DD><CODE>request</CODE> - Current page request<DD><CODE>response</CODE> - Current page response
542
<DD><CODE>java.io.IOException</CODE>
543
<DD><CODE>javax.servlet.ServletException</CODE></DL>
546
<!-- ========= END OF CLASS DATA ========= -->
549
<!-- ========== START OF NAVBAR ========== -->
550
<A NAME="navbar_bottom"><!-- --></A>
551
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
553
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
554
<A NAME="navbar_bottom_firstrow"><!-- --></A>
555
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
556
<TR ALIGN="center" VALIGN="top">
557
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
558
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
559
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
560
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/ActionComponentServlet.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
561
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
562
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
563
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
564
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
568
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
574
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
575
PREV CLASS
576
<A HREF="../../../../org/apache/struts/tiles/ActionController.html"><B>NEXT CLASS</B></A></FONT></TD>
577
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
578
<A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>
579
<A HREF="ActionComponentServlet.html" TARGET="_top"><B>NO FRAMES</B></A>
584
document.writeln('<A HREF="../../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
589
<A HREF="../../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
594
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
595
SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
596
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
597
DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
600
<!-- =========== END OF NAVBAR =========== -->
603
Copyright � 2000-2003 - Apache Software Foundation