To create your OWN RequestProcessor, FOLLOW THESE STEPS:
1.create a class there extends the org.apache.struts.Action.RequestProcessor Class.
2.Add a default Empty constructor to the requestProcessor Implementation.
3. IMPLEMENT YOUR ProcessPreprocess () Method.
Listing 4.3: Struts-config.xml.
Xml Version = "1.0" encoding = "ISO-8859-1"?>
"- // Apache Software Foundation // DTD Struts Configuration 1.1 // en"
"http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd">
TYPE = "ch04.lookupform" />
form-beans>
Type = "ch04.lookupaction"
Name = "lookupform">
action>
action-mappings>
Processorclass = "ch04.wroxrequestprocessor" />
Struts-Config>