• Welcome to KonaKart Community Forum. Please login or sign up.
 

Adding a Aboutus page

Started by makjames, March 01, 2011, 11:12:03 am

Previous topic - Next topic

makjames

Hi,

I found that there is no "About US" page in Konakart so i try to add by myself, basically what i have done is reference to the ContactUs page and do the following modification

1. struts-config.xml added
      <action path="/CatalogContactUsPage" forward="catalog.contactus.page"/>      
   -->   <action path="/CatalogTestingPage" forward="catalog.testing.page"/>      

      <action path="/ContactUs" type="com.konakart.actions.ContactUsAction"><forward name="ContactUs" path="/CatalogContactUsPage.do"/></action>
   -->   <action path="/Testing" type="com.konakart.actions.Testing"><forward name="Testing" path="/CatalogTestingPage.do"/></action>
2. tiles-defs.xml added
   <definition name="catalog.contactus.page" extends="main.layout"><put name="body" value="/WEB-INF/jsp/CatalogContactUsBody.jsp"/></definition>
   -->          <definition name="catalog.testing.page" extends="main.layout"><put name="body" value="/WEB-INF/jsp/Testing.jsp"/></definition>

   <definition name="catalog.contactus.page" extends="main.layout"><put name="body" value="/WEB-INF/jsp/CatalogContactUsBody.jsp"/></definition>
   -->          <definition name="catalog.testing.page" extends="main.layout">   <put name="body" value="/WEB-INF/jsp/Testing.jsp"/></definition>

3. InformationTils.jsp added
-->     <html:link page="/Testing.do">Testing</html:link>   

when i click the link the error msg is

Status report

message No action instance for path /Testing could be created

description The server encountered an internal error (No action instance for path /Testing could be created) that prevented it from fulfilling this request.


Am i missing sth or do it in the wrong way and Whst else i should do to make it work ?

Thanks.

James.