Hi,
I have a question.
I haver a class which extends from Struts Action class.
The execute method has been overridden as below.
What will happen if I throw an application exception from the execute().
Will it be displayed on the jsp page/browser?
Thanks in advance,

Please see my code snippet below.

public ActionForward execute (ActionMapping mapping,
ActionForm form,HttpServletRequest request,
HttpServletResponse response) throws Exception
{
//perform database operation
int i = new DAO().getId();
if(i == 9)
throw new DataInvalidException("Data is invalid");

}


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to