The path is extracted from the url by the processPath() method of the org.apache.struts.action.RequestProcessor class. The mapping for that path is obtained in the processMapping() method. The instance of Action is returned from the processActionCreate() method which will look it up or create it based on the mapping. The action logic is called by processActionPerform()
<btw> You can if you wish create your own subclass of RequestProcessor to selectively override these methods. To get struts to use your RequestProcessor you need to configure it in struts-config.xml by setting the 'processorClass' attribute of the 'controller' element appropriately.) </btw> -----Original Message----- From: Kommineni, Sateesh (IndSys) [mailto:[EMAIL PROTECTED] Sent: Thursday, 7 August 2003 14:13 To: Struts Users Mailing List Subject: How Action Path is extracted from the URL Hi, I would like to know how the Framework extracts the Path from the URL so that it can instantiate the corresponding Action Class for which the path specified in the config file .. Which class of the Framework takes care of this ?? Thanks in Advance Sateesh "THIS E-MAIL MESSAGE ALONG WITH ANY ATTACHMENTS IS INTENDED ONLY FOR THE ADDRESSEE and may contain confidential and privileged information. If the reader of this message is not the intended recipient, you are notified that any dissemination, distribution or copy of this communication is strictly Prohibited. If you have received this message by error, please notify us immediately, return the original mail to the sender and delete the message from your system." --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]