Here's the bug report:

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

-james
[EMAIL PROTECTED]
http://www.jamesholmes.com/struts/


--- James Holmes <[EMAIL PROTECTED]> 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
> [EMAIL PROTECTED]
> http://www.jamesholmes.com/struts/
> 
> 
> --- Joćo_Cerdeira <[EMAIL PROTECTED]>
> 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:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> > 
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Yahoo! - Official partner of 2002 FIFA World Cup
> http://fifaworldcup.yahoo.com
> 
> --
> To unsubscribe, e-mail:  
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> 


__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

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

Reply via email to