Can you pop this into Bugzilla so that it doesn't get lost? http://jakarta.apache.org/site/bugs.html
Dmitri Valdin wrote: > > I would like to bring this thread back to life > > Laine's proposal was not commited to CVS yet, so I have > introduced several changes and made them work with > build from 29 December: > > - introduced AppException which extends Exception > and has constructors similar to ActionError. > > - added support for AppExceptions, which allows user > to throw exceptions like: > throw new AppException("error.password.mismatch"); > > which cause automatic creation and saving of errors in request/session > > - added new configuration parameter 'handler' for the exception: > > <exception > type="org.apache.struts.webapp.example.ExpiredPasswordException" > path="/changePassword.jsp" > handler="org.apache.struts.action.ExceptionHandler"/> > > where default handler can be used in 99% of cases > > - introduced new execute() method in Action, which throws Exception and > should substitute perform() on the long run. ActionServlet calls > execute(), > which by default pass control to perform(). (Proposal of Tim Moore) > > - modified LogonAction just to show, how exceptions can be handled > > modified files: > ============== > Action > ActionMapping > ActionServlet > struts-config_1_1.dtd > > new files: > ========== > ActionException > ActionExceptions > AppException > ExceptionHandler > > just for example > ================ > LogonAction > ApplicationResources.properties > > Thanks to the Struts team and Happy New Year for everybody. > > Dmitri Valdin > > ------------------------------------------------------------------------ > Name: changes.zip > changes.zip Type: Zip Compressed Data (application/x-zip-compressed) > Encoding: base64 > > ------------------------------------------------------------------------ > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel +1 716 737-3463 -- http://www.husted.com/struts/ -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>