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:44:09 EDT 2003 -->
7
LookupDispatchAction (Apache Struts API Documentation)
9
<META NAME="keywords" CONTENT="org.apache.struts.actions.LookupDispatchAction,LookupDispatchAction class">
10
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
15
parent.document.title="LookupDispatchAction (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/LookupDispatchAction.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
<A HREF="../../../../org/apache/struts/actions/IncludeAction.html"><B>PREV CLASS</B></A>
47
<A HREF="../../../../org/apache/struts/actions/SwitchAction.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="LookupDispatchAction.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.actions</FONT>
79
Class LookupDispatchAction</H2>
83
+--<A HREF="../../../../org/apache/struts/action/Action.html">org.apache.struts.action.Action</A>
85
+--<A HREF="../../../../org/apache/struts/actions/DispatchAction.html">org.apache.struts.actions.DispatchAction</A>
87
+--<B>org.apache.struts.actions.LookupDispatchAction</B>
91
<DT>public abstract class <B>LookupDispatchAction</B><DT>extends <A HREF="../../../../org/apache/struts/actions/DispatchAction.html">DispatchAction</A></DL>
96
An abstract <strong>Action</strong> that dispatches to the subclass mapped
97
<code>execute</code> method. This is useful in
98
cases where an HTML form has multiple submit buttons with the same name. The
99
button name is specified by the <code>parameter</code> property of the
100
corresponding ActionMapping. To configure the use of this action in your
101
<code>struts-config.xml</code> file, create an entry like this:</p> <pre>
102
<action path="/test"
103
type="org.example.MyAction"
107
parameter="action"/>
110
which will use the value of the request parameter named "action" to locate
111
the corresponding key in ApplicationResources. For example, you might have
112
the following ApplicationResources.properties:</p> <pre>
113
button.add=Add Record
114
button.delete=Delete Record
117
And your JSP would have the following format for submit buttons:</p> <pre>
118
<html:form action="/test">
119
<html:submit property="action">
120
<bean:message key="button.add"/>
122
<html:submit property="action">
123
<bean:message key="button.delete"/>
128
Your subclass must implement both getKeyMethodMap and the
129
methods defined in the map. An example of such implementations are:</p>
131
protected Map getKeyMethodMap() {
132
Map map = new HashMap();
133
map.put("button.add", "add");
134
map.put("button.delete", "delete");
138
public ActionForward add(ActionMapping mapping,
140
HttpServletRequest request,
141
HttpServletResponse response)
142
throws IOException, ServletException {
144
return mapping.findForward("success");
147
public ActionForward delete(ActionMapping mapping,
149
HttpServletRequest request,
150
HttpServletResponse response)
151
throws IOException, ServletException {
153
return mapping.findForward("success");
157
<strong>Notes</strong> - If duplicate values exist for the keys returned by
158
getKeys, only the first one found will be returned. If no corresponding key
159
is found then an exception will be thrown.
164
<DT><B>Author:</B></DT>
165
<DD>Erik Hatcher, Scott Carlson, David Graham</DD>
170
<!-- ======== NESTED CLASS SUMMARY ======== -->
173
<!-- =========== FIELD SUMMARY =========== -->
175
<A NAME="field_summary"><!-- --></A>
176
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
177
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
178
<TD COLSPAN=2><FONT SIZE="+2">
179
<B>Field Summary</B></FONT></TD>
181
<TR BGCOLOR="white" CLASS="TableRowColor">
182
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
183
<CODE>protected java.util.Map</CODE></FONT></TD>
184
<TD><CODE><B><A HREF="../../../../org/apache/struts/actions/LookupDispatchAction.html#keyMethodMap">keyMethodMap</A></B></CODE>
187
Resource key to method name lookup.</TD>
189
<TR BGCOLOR="white" CLASS="TableRowColor">
190
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
191
<CODE>protected java.util.Map</CODE></FONT></TD>
192
<TD><CODE><B><A HREF="../../../../org/apache/struts/actions/LookupDispatchAction.html#localeMap">localeMap</A></B></CODE>
195
Reverse lookup map from resource value to resource key.</TD>
198
<A NAME="fields_inherited_from_class_org.apache.struts.actions.DispatchAction"><!-- --></A>
199
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
200
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
201
<TD><B>Fields inherited from class org.apache.struts.actions.<A HREF="../../../../org/apache/struts/actions/DispatchAction.html">DispatchAction</A></B></TD>
203
<TR BGCOLOR="white" CLASS="TableRowColor">
204
<TD><CODE><A HREF="../../../../org/apache/struts/actions/DispatchAction.html#clazz">clazz</A>, <A HREF="../../../../org/apache/struts/actions/DispatchAction.html#log">log</A>, <A HREF="../../../../org/apache/struts/actions/DispatchAction.html#messages">messages</A>, <A HREF="../../../../org/apache/struts/actions/DispatchAction.html#methods">methods</A>, <A HREF="../../../../org/apache/struts/actions/DispatchAction.html#types">types</A></CODE></TD>
207
<A NAME="fields_inherited_from_class_org.apache.struts.action.Action"><!-- --></A>
208
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
209
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
210
<TD><B>Fields inherited from class org.apache.struts.action.<A HREF="../../../../org/apache/struts/action/Action.html">Action</A></B></TD>
212
<TR BGCOLOR="white" CLASS="TableRowColor">
213
<TD><CODE><A HREF="../../../../org/apache/struts/action/Action.html#ACTION_SERVLET_KEY">ACTION_SERVLET_KEY</A>, <A HREF="../../../../org/apache/struts/action/Action.html#APPLICATION_KEY">APPLICATION_KEY</A>, <A HREF="../../../../org/apache/struts/action/Action.html#DATA_SOURCE_KEY">DATA_SOURCE_KEY</A>, <A HREF="../../../../org/apache/struts/action/Action.html#defaultLocale">defaultLocale</A>, <A HREF="../../../../org/apache/struts/action/Action.html#ERROR_KEY">ERROR_KEY</A>, <A HREF="../../../../org/apache/struts/action/Action.html#EXCEPTION_KEY">EXCEPTION_KEY</A>, <A HREF="../../../../org/apache/struts/action/Action.html#FORM_BEANS_KEY">FORM_BEANS_KEY</A>, <A HREF="../../../../org/apache/struts/action/Action.html#FORWARDS_KEY">FORWARDS_KEY</A>, <A HREF="../../../../org/apache/struts/action/Action.html#LOCALE_KEY">LOCALE_KEY</A>, <A HREF="../../../../org/apache/struts/action/Action.html#MAPPING_KEY">MAPPING_KEY</A>, <A HREF="../../../../org/apache/struts/action/Action.html#MAPPINGS_KEY">MAPPINGS_KEY</A>, <A HREF="../../../../org/apache/struts/action/Action.html#MESSAGE_KEY">MESSAGE_KEY</A>, <A HREF="../../../../org/apache/struts/action/Action.html#MESSAGES_KEY">MESSAGES_KEY</A>, <A HREF="../../../../org/apache/struts/action/Action.html#MULTIPART_KEY">MULTIPART_KEY</A>, <A HREF="../../../../org/apache/struts/action/Action.html#PLUG_INS_KEY">PLUG_INS_KEY</A>, <A HREF="../../../../org/apache/struts/action/Action.html#REQUEST_PROCESSOR_KEY">REQUEST_PROCESSOR_KEY</A>, <A HREF="../../../../org/apache/struts/action/Action.html#servlet">servlet</A>, <A HREF="../../../../org/apache/struts/action/Action.html#SERVLET_KEY">SERVLET_KEY</A>, <A HREF="../../../../org/apache/struts/action/Action.html#TRANSACTION_TOKEN_KEY">TRANSACTION_TOKEN_KEY</A></CODE></TD>
217
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
219
<A NAME="constructor_summary"><!-- --></A>
220
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
221
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
222
<TD COLSPAN=2><FONT SIZE="+2">
223
<B>Constructor Summary</B></FONT></TD>
225
<TR BGCOLOR="white" CLASS="TableRowColor">
226
<TD><CODE><B><A HREF="../../../../org/apache/struts/actions/LookupDispatchAction.html#LookupDispatchAction()">LookupDispatchAction</A></B>()</CODE>
229
</TD>
233
<!-- ========== METHOD SUMMARY =========== -->
235
<A NAME="method_summary"><!-- --></A>
236
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
237
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
238
<TD COLSPAN=2><FONT SIZE="+2">
239
<B>Method Summary</B></FONT></TD>
241
<TR BGCOLOR="white" CLASS="TableRowColor">
242
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
243
<CODE> <A HREF="../../../../org/apache/struts/action/ActionForward.html">ActionForward</A></CODE></FONT></TD>
244
<TD><CODE><B><A HREF="../../../../org/apache/struts/actions/LookupDispatchAction.html#execute(org.apache.struts.action.ActionMapping, org.apache.struts.action.ActionForm, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)">execute</A></B>(<A HREF="../../../../org/apache/struts/action/ActionMapping.html">ActionMapping</A> mapping,
245
<A HREF="../../../../org/apache/struts/action/ActionForm.html">ActionForm</A> form,
246
javax.servlet.http.HttpServletRequest request,
247
javax.servlet.http.HttpServletResponse response)</CODE>
250
Process the specified HTTP request, and create the corresponding HTTP
251
response (or forward to another web component that will create it).</TD>
253
<TR BGCOLOR="white" CLASS="TableRowColor">
254
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
255
<CODE>protected abstract java.util.Map</CODE></FONT></TD>
256
<TD><CODE><B><A HREF="../../../../org/apache/struts/actions/LookupDispatchAction.html#getKeyMethodMap()">getKeyMethodMap</A></B>()</CODE>
259
Provides the mapping from resource key to method name.</TD>
261
<TR BGCOLOR="white" CLASS="TableRowColor">
262
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
263
<CODE>private java.util.Map</CODE></FONT></TD>
264
<TD><CODE><B><A HREF="../../../../org/apache/struts/actions/LookupDispatchAction.html#initLookupMap(javax.servlet.http.HttpServletRequest, java.util.Locale)">initLookupMap</A></B>(javax.servlet.http.HttpServletRequest request,
265
java.util.Locale userLocale)</CODE>
268
This is the first time this Locale is used so build the reverse lookup Map.</TD>
271
<A NAME="methods_inherited_from_class_org.apache.struts.actions.DispatchAction"><!-- --></A>
272
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
273
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
274
<TD><B>Methods inherited from class org.apache.struts.actions.<A HREF="../../../../org/apache/struts/actions/DispatchAction.html">DispatchAction</A></B></TD>
276
<TR BGCOLOR="white" CLASS="TableRowColor">
277
<TD><CODE><A HREF="../../../../org/apache/struts/actions/DispatchAction.html#dispatchMethod(org.apache.struts.action.ActionMapping, org.apache.struts.action.ActionForm, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)">dispatchMethod</A>, <A HREF="../../../../org/apache/struts/actions/DispatchAction.html#getMethod(java.lang.String)">getMethod</A>, <A HREF="../../../../org/apache/struts/actions/DispatchAction.html#unspecified(org.apache.struts.action.ActionMapping, org.apache.struts.action.ActionForm, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)">unspecified</A></CODE></TD>
280
<A NAME="methods_inherited_from_class_org.apache.struts.action.Action"><!-- --></A>
281
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
282
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
283
<TD><B>Methods inherited from class org.apache.struts.action.<A HREF="../../../../org/apache/struts/action/Action.html">Action</A></B></TD>
285
<TR BGCOLOR="white" CLASS="TableRowColor">
286
<TD><CODE><A HREF="../../../../org/apache/struts/action/Action.html#execute(org.apache.struts.action.ActionMapping, org.apache.struts.action.ActionForm, javax.servlet.ServletRequest, javax.servlet.ServletResponse)">execute</A>, <A HREF="../../../../org/apache/struts/action/Action.html#generateToken(javax.servlet.http.HttpServletRequest)">generateToken</A>, <A HREF="../../../../org/apache/struts/action/Action.html#getDataSource(javax.servlet.http.HttpServletRequest)">getDataSource</A>, <A HREF="../../../../org/apache/struts/action/Action.html#getDataSource(javax.servlet.http.HttpServletRequest, java.lang.String)">getDataSource</A>, <A HREF="../../../../org/apache/struts/action/Action.html#getLocale(javax.servlet.http.HttpServletRequest)">getLocale</A>, <A HREF="../../../../org/apache/struts/action/Action.html#getResources()">getResources</A>, <A HREF="../../../../org/apache/struts/action/Action.html#getResources(javax.servlet.http.HttpServletRequest)">getResources</A>, <A HREF="../../../../org/apache/struts/action/Action.html#getResources(javax.servlet.http.HttpServletRequest, java.lang.String)">getResources</A>, <A HREF="../../../../org/apache/struts/action/Action.html#getServlet()">getServlet</A>, <A HREF="../../../../org/apache/struts/action/Action.html#isCancelled(javax.servlet.http.HttpServletRequest)">isCancelled</A>, <A HREF="../../../../org/apache/struts/action/Action.html#isTokenValid(javax.servlet.http.HttpServletRequest)">isTokenValid</A>, <A HREF="../../../../org/apache/struts/action/Action.html#isTokenValid(javax.servlet.http.HttpServletRequest, boolean)">isTokenValid</A>, <A HREF="../../../../org/apache/struts/action/Action.html#perform(org.apache.struts.action.ActionMapping, org.apache.struts.action.ActionForm, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)">perform</A>, <A HREF="../../../../org/apache/struts/action/Action.html#perform(org.apache.struts.action.ActionMapping, org.apache.struts.action.ActionForm, javax.servlet.ServletRequest, javax.servlet.ServletResponse)">perform</A>, <A HREF="../../../../org/apache/struts/action/Action.html#resetToken(javax.servlet.http.HttpServletRequest)">resetToken</A>, <A HREF="../../../../org/apache/struts/action/Action.html#saveErrors(javax.servlet.http.HttpServletRequest, org.apache.struts.action.ActionErrors)">saveErrors</A>, <A HREF="../../../../org/apache/struts/action/Action.html#saveMessages(javax.servlet.http.HttpServletRequest, org.apache.struts.action.ActionMessages)">saveMessages</A>, <A HREF="../../../../org/apache/struts/action/Action.html#saveToken(javax.servlet.http.HttpServletRequest)">saveToken</A>, <A HREF="../../../../org/apache/struts/action/Action.html#setLocale(javax.servlet.http.HttpServletRequest, java.util.Locale)">setLocale</A>, <A HREF="../../../../org/apache/struts/action/Action.html#setServlet(org.apache.struts.action.ActionServlet)">setServlet</A>, <A HREF="../../../../org/apache/struts/action/Action.html#toHex(byte[])">toHex</A></CODE></TD>
289
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
290
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
291
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
292
<TD><B>Methods inherited from class java.lang.Object</B></TD>
294
<TR BGCOLOR="white" CLASS="TableRowColor">
295
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
301
<!-- ============ FIELD DETAIL =========== -->
303
<A NAME="field_detail"><!-- --></A>
304
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
305
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
306
<TD COLSPAN=1><FONT SIZE="+2">
307
<B>Field Detail</B></FONT></TD>
311
<A NAME="localeMap"><!-- --></A><H3>
314
protected java.util.Map <B>localeMap</B></PRE>
316
<DD>Reverse lookup map from resource value to resource key.
323
<A NAME="keyMethodMap"><!-- --></A><H3>
326
protected java.util.Map <B>keyMethodMap</B></PRE>
328
<DD>Resource key to method name lookup.
334
<!-- ========= CONSTRUCTOR DETAIL ======== -->
336
<A NAME="constructor_detail"><!-- --></A>
337
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
338
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
339
<TD COLSPAN=1><FONT SIZE="+2">
340
<B>Constructor Detail</B></FONT></TD>
344
<A NAME="LookupDispatchAction()"><!-- --></A><H3>
345
LookupDispatchAction</H3>
347
public <B>LookupDispatchAction</B>()</PRE>
351
<!-- ============ METHOD DETAIL ========== -->
353
<A NAME="method_detail"><!-- --></A>
354
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
355
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
356
<TD COLSPAN=1><FONT SIZE="+2">
357
<B>Method Detail</B></FONT></TD>
361
<A NAME="execute(org.apache.struts.action.ActionMapping, org.apache.struts.action.ActionForm, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)"><!-- --></A><H3>
364
public <A HREF="../../../../org/apache/struts/action/ActionForward.html">ActionForward</A> <B>execute</B>(<A HREF="../../../../org/apache/struts/action/ActionMapping.html">ActionMapping</A> mapping,
365
<A HREF="../../../../org/apache/struts/action/ActionForm.html">ActionForm</A> form,
366
javax.servlet.http.HttpServletRequest request,
367
javax.servlet.http.HttpServletResponse response)
368
throws java.lang.Exception</PRE>
370
<DD>Process the specified HTTP request, and create the corresponding HTTP
371
response (or forward to another web component that will create it).
372
Return an <code>ActionForward</code> instance describing where and how
373
control should be forwarded, or <code>null</code> if the response has
374
already been completed.
377
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/apache/struts/actions/DispatchAction.html#execute(org.apache.struts.action.ActionMapping, org.apache.struts.action.ActionForm, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)">execute</A></CODE> in class <CODE><A HREF="../../../../org/apache/struts/actions/DispatchAction.html">DispatchAction</A></CODE></DL>
380
<DT><B>Parameters:</B><DD><CODE>mapping</CODE> - The ActionMapping used to select this instance<DD><CODE>request</CODE> - The HTTP request we are processing<DD><CODE>response</CODE> - The HTTP response we are creating<DD><CODE>form</CODE> - The optional ActionForm bean for this request (if any)
381
<DT><B>Returns:</B><DD>Describes where and how control should be forwarded.
383
<DD><CODE>java.lang.Exception</CODE> - if an error occurs</DL>
388
<A NAME="initLookupMap(javax.servlet.http.HttpServletRequest, java.util.Locale)"><!-- --></A><H3>
391
private java.util.Map <B>initLookupMap</B>(javax.servlet.http.HttpServletRequest request,
392
java.util.Locale userLocale)</PRE>
394
<DD>This is the first time this Locale is used so build the reverse lookup Map.
395
Search for message keys in all configured MessageResources for
404
<A NAME="getKeyMethodMap()"><!-- --></A><H3>
407
protected abstract java.util.Map <B>getKeyMethodMap</B>()</PRE>
409
<DD>Provides the mapping from resource key to method name.
413
<DT><B>Returns:</B><DD>Resource key / method name map.</DL>
416
<!-- ========= END OF CLASS DATA ========= -->
419
<!-- ========== START OF NAVBAR ========== -->
420
<A NAME="navbar_bottom"><!-- --></A>
421
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
423
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
424
<A NAME="navbar_bottom_firstrow"><!-- --></A>
425
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
426
<TR ALIGN="center" VALIGN="top">
427
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
428
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
429
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
430
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/LookupDispatchAction.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
431
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
432
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
433
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
434
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
438
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
444
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
445
<A HREF="../../../../org/apache/struts/actions/IncludeAction.html"><B>PREV CLASS</B></A>
446
<A HREF="../../../../org/apache/struts/actions/SwitchAction.html"><B>NEXT CLASS</B></A></FONT></TD>
447
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
448
<A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>
449
<A HREF="LookupDispatchAction.html" TARGET="_top"><B>NO FRAMES</B></A>
454
document.writeln('<A HREF="../../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
459
<A HREF="../../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
464
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
465
SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
466
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
467
DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
470
<!-- =========== END OF NAVBAR =========== -->
473
Copyright � 2000-2003 - Apache Software Foundation