i think that link is ok.....let me giev u all the details....
app1/WEB-INF
app1/the 2 jsp pages
app1/WEB-INF/classes , lib, struts-config.xml , struts-config-app2.xml and web.xml
app1/app2/the 2 jsp
contents fo web.xml
<
servlet>
<servlet-name>action</servlet-name>
<servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
<init-param>
<param-name>config</param-name>
<param-value>/WEB-INF/struts-config.xml</param-value>
</init-param>
<init-param>
<param-name>config/app2</param-name>
<param-value>/WEB-INF/struts-config-app2.xml</param-value>
</init-param>
<load-on-startup>1</load-on-startup>
</servlet>
contents of struts-config.xml
<action className="ch08.WroxActionMapping"
path="/Lookup"
type="ch03.LookupAction"
name="lookupForm"
validate="true"
input="/index.jsp">
<set-property property="logResults" value="true"/>
<forward name="success" path="/quote.jsp"/>
<forward name="failure" path="/index.jsp"/>
</action>
contents of struts-config-app2.xml
<action-mappings>
<action className="ch08.WroxActionMapping"
path="/Lookup"
type="ch03.LookupAction"
name="lookupForm"
validate="true"
input="/app2/index.jsp">
<set-property property="logResults" value="true"/>
<forward name="success" path="/app2/quote.jsp"/>
<forward name="failure" path="/app2/index.jsp"/>
</action>
now what i think is that the controller is taking the maping frm strust-config.xml wheras it sud take the mapinf frm strust-config-app2.xml.....right....correct me if i am wrong....
thanks