You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by James Holmes <jh...@yahoo.com> on 2002/06/21 18:00:04 UTC

Re: Sturts config exception question

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/


--- Jo�o_Cerdeira <jo...@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:  
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
> 


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

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Sturts config exception question

Posted by Ted Husted <hu...@apache.org>.
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 <jo...@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:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Sturts config exception question

Posted by João Cerdeira <jo...@multicert.com>.
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 <jo...@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:  
>><ma...@jakarta.apache.org>
>>For additional commands, e-mail:
>><ma...@jakarta.apache.org>
>>
>>    
>>
>
>
>__________________________________________________
>Do You Yahoo!?
>Yahoo! - Official partner of 2002 FIFA World Cup
>http://fifaworldcup.yahoo.com
>
>--
>To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
>For additional commands, e-mail: <ma...@jakarta.apache.org>
>
>
>  
>




--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Sturts config exception question

Posted by James Holmes <jh...@yahoo.com>.
Here's the bug report:

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

-james
james@jamesholmes.com
http://www.jamesholmes.com/struts/


--- James Holmes <jh...@yahoo.com> 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/
> 
> 
> --- Jo�o_Cerdeira <jo...@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:  
> >
> <ma...@jakarta.apache.org>
> > For additional commands, e-mail:
> > <ma...@jakarta.apache.org>
> > 
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Yahoo! - Official partner of 2002 FIFA World Cup
> http://fifaworldcup.yahoo.com
> 
> --
> To unsubscribe, e-mail:  
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
> 


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

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Sturts config exception question

Posted by James Holmes <jh...@yahoo.com>.
Here's the bug report:

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

-james
james@jamesholmes.com
http://www.jamesholmes.com/struts/


--- James Holmes <jh...@yahoo.com> 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/
> 
> 
> --- Jo�o_Cerdeira <jo...@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:  
> >
> <ma...@jakarta.apache.org>
> > For additional commands, e-mail:
> > <ma...@jakarta.apache.org>
> > 
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Yahoo! - Official partner of 2002 FIFA World Cup
> http://fifaworldcup.yahoo.com
> 
> --
> To unsubscribe, e-mail:  
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
> 


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

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>