This happens because either robots or a direct hit to the following URL
http://www.konakart.com/konakart/ForgotPassword.do
the ForgotPassword.do does not have action class, instead tiles are used......
so the BaseAction's getKKAppEng() method is never called
and "konakartKey" is never stored in the session
a simple work around is just create a simple action class
and edit the struts-config.xml file
ForgotPasswordAction.java is attached
and instead of config in struts-config.xml
use this
http://www.konakart.com/konakart/ForgotPassword.do
the ForgotPassword.do does not have action class, instead tiles are used......
so the BaseAction's getKKAppEng() method is never called
and "konakartKey" is never stored in the session
a simple work around is just create a simple action class
and edit the struts-config.xml file
ForgotPasswordAction.java is attached
and instead of config in struts-config.xml
Code Select
<action path="/ForgotPassword" forward="/CatalogForgotPasswordPage.do">
<forward name="Login" path="/LogIn.do"/>
</action>
use this
Code Select
<action path="/ForgotPassword" type="com.konakart.actions.ForgotPasswordAction">
<forward name="Login" path="/CatalogForgotPasswordPage.do"/>
</action>