Hi Nelson,

I am not sure if it is the correct way of doing the direction.

You can create an jsp says openRate.jsp at the root level (together with 403.jsp etc.) which contains:

<%@ include file="/common/taglibs.jsp"%>

<c:redirect url="/openRate.html"/>

and change /403.jsp to /openRate.jsp

Best Regards,

Tyson Cung
Hello Technology Pte. Ltd.
180 Cecil Street, #07-03, Bangkok Bank Building, Singapore 069546
(F : +65 6534 7133 (HP : +65 93896675
* [email protected]


On 18 Nov 2009, at 21:10, Nelson Biasura wrote:

Thanks Tyson, yes that is what i'm doing right now. But the problem is that when i changed (for example) 403.jsp into openRate.html which is available in my struts.xml mapping. the result is blank page! i can't do direct calling of the jsp like /pages/openRate.jsp because it must go through my action for regular processing for data collection. Any syntax suggestion mate?


Tyson Cung wrote:
Hi Nelson

Check the web.xml for error-page tag and change the location page accordingly. For example:

<error-page>
       <error-code>500</error-code>
       <location>/error.jsp</location>
   </error-page>
   <error-page>
       <error-code>400</error-code>
       <location>/index.jsp</location>
   </error-page>
   <error-page>
       <error-code>403</error-code>
       <location>/403.jsp</location>
   </error-page>
   <error-page>
       <error-code>404</error-code>
       <location>/index.jsp</location>
   </error-page>

Regards
Tyson

On Wed, Nov 18, 2009 at 5:14 PM, Nelson Biasura <[email protected] <mailto:[email protected]>> wrote:

   Hello guys, I want to redirect users if in case there are errors
   encountered or if the URL
   they entered in not available in struts.xml mapping. How can i
   configure it appfuse?

   Thanks,
   Nelson

---------------------------------------------------------------------
   To unsubscribe, e-mail: [email protected]
   <mailto:[email protected]>
   For additional commands, e-mail: [email protected]
   <mailto:[email protected]>




---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to