Fixed this by changing the order in the xml file. Now my class EnvironmentRequestProcessor extends TilesRequestProcessor because I am using Tiles also. But this code
protected ActionForward processActionPerform( HttpServletRequest request, HttpServletResponse response, Action action, ActionForm form, ActionMapping mapping ) throws IOException, ServletException { if( mapping != null && mapping.getName() != null ){ System.out.println( "The action mapping is " + mapping.getName().toString() ); } ActionForward forward = super.processActionPerform( request,response,action,form, mapping); returns null. I was planning to do something based on which mapping it is. Help appreciated. Mohan -----Original Message----- From: Mohan Radhakrishnan [mailto:[EMAIL PROTECTED] Sent: Friday, January 23, 2004 4:45 PM To: 'Struts Users Mailing List' Subject: custom request processor Hi If I have to use a custom request processor then I specify the following <controller processorClass="com.jea.emis.presentation.EnvironmentRequestProcessor"/> Is there anything else I have to do ? I am using modules. I got a parsing error. SEVERE: Parse Error at line 51 column 14: file:/D:/oracle9.0.4.0.1/j2ee/home/app lications/emis/emis-web/WEB-INF/struts-config-rulemaking.xml<Line 51, Column 14> : XML-0148: (Error) Invalid element 'controller' in content of 'struts-config', expected elements '[message-resources, plug-in]'. Mohan --------------------------------------------------------------------- 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]