struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chang Ming Chye <>
Subject RequestProcessor handling http requests
Date Wed, 07 Apr 2004 01:20:56 GMT

How does struts handle incoming request and routes it
to the correct action?

For example, if I declare my web.xml as:



and in my struts-config.xml file I have the following
action declared:

<action path="/searchAction" ... >

When the http request "*/" is received
by the Action Servlet, how is the actual action
"/searchAction" as specified retrieved? Which method
of the RequestProcessor actually removed the extension
".do" from the request?

Furthermore, if the URL-pattern of my servlet-mapping
is specified as "/do/*" instead of "*.do" are the
request mapped again to the actions specified?


Do You Yahoo!?
Log on to Messenger with your mobile phone!

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message