How can you do ErrorMapping in Action class?

Showing Answers 1 - 1 of 1 Answers

Kiran Kumar

  • Apr 7th, 2006
 

If u ActionMapping.findForward("Failure") in Action Class. The webcontainer reads the information in sruts-config.xml and get the error page file.

In struts-config.xml

<forward name="Failure" path="error.jsp"> 

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions