I did not write any class that extends RequestProcessor. I added this code snippet in my action
servlet protected synchronized RequestProcessor getRequestProcessor (ModuleConfig config)
throws ServletException {
String key = Globals.REQUEST_PROCESSOR_KEY + config.getPrefix();
Object proc = getServletContext().getAttribute(key);
return (proc instanceof RequestProcessor) ? (RequestProcessor) proc : null;
}
since this was also giving me error I removed it from the action class.
Yes, I am using tiles.
I have this in my struts-config.xml
<controller
processorClass="org.apache.struts.tiles.TilesRequestProcessor"/>
I have included struts-tiles.tld and tiles-defs.xml in my WEB-INF along with other struts related files.
Am I missing anything?
Any help on this is appreciated.
Thanks,
Pam