struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Husted <hus...@apache.org>
Subject Re: Sturts config exception question
Date Fri, 21 Jun 2002 16:55:59 GMT
If you vote for the bug, you will be automatically notified of any
change in Status. 

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8022

The DEV list is also subscribed to Bugzilla and all changes are reported
there as well. 

-T.

João Cerdeira wrote:
> 
> Thanks James
> 
> Advertise the list when this is fixed
> 
> James Holmes wrote:
> 
> >This is because there is a *bug* in the DispatchAction
> >in 1.1b1 and the nightly builds.  Currently the
> >DispatchAction does not support the new Exceptions
> >facility in Struts 1.1.  There is already a bug in
> >Bugzilla for this and I have submitted a patch.  I
> >will be applying the patch to the Struts code soon.
> >
> >-james
> >james@jamesholmes.com
> >http://www.jamesholmes.com/struts/
> >
> >
> >--- Joa~o_Cerdeira <joao.cerdeira@multicert.com> wrote:
> >
> >
> >>HI,
> >>
> >>i work with struts 1.1
> >>
> >>
> >>and i have a class with
> >>
> >>submit is the parameter od the form (DispathAction)
> >>
> >>public ActionForward *submit*(
> >>        ActionMapping mapping,
> >>        ActionForm form,
> >>        HttpServletRequest request,
> >>        HttpServletResponse response) {
> >>
> >>
> >>        throw new SecurityException("ola");
> >>
> >>}
> >>
> >>
> >>and in struts config-xml:
> >>
> >><exception
> >>                key="java.lang.SecurityException"
> >>                type="java.lang.SecurityException"
> >>                path="/jsp/security.jsp"
> >>                scope="request"/>
> >>
> >>
> >>AND they do not redirect to the /jsp/security.jsp
> >>why ????
> >>
> >>
> >>BUT if i have:
> >>
> >>public ActionForward *perform*(
> >>        ActionMapping mapping,
> >>        ActionForm form,
> >>        HttpServletRequest request,
> >>        HttpServletResponse response) {
> >>
> >>
> >>        throw new SecurityException("ola");
> >>
> >>}
> >>
> >>
> >>They work WHY ??
> >>
> >>
> >>Can anybody help me to resolve this problem
> >>
> >>
> >>Bye.

--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message