You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Bill Johnson <pe...@yahoo.com> on 2007/07/09 15:52:35 UTC

[s2] What is the name attribute of tag for?

Anyone know what the "name" attribute of
<exception-mapping> tag in the Struts 2 configuration
file is used for?

The doc at the following page doesn't mention it.

http://struts.apache.org/2.0.8/docs/exception-configuration.html

-Bill


       
____________________________________________________________________________________
Sick sense of humor? Visit Yahoo! TV's 
Comedy with an Edge to see what's on, when. 
http://tv.yahoo.com/collections/222

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


Re: [s2] What is the name attribute of tag for?

Posted by Gabriel Belingueres <be...@gmail.com>.
And what about the <param> tag?
The DTD admits as valid the following:
      <exception-mapping exception="java.lang.Exception" result="exception">
        <param name="aaa">bbb</param>
      </exception-mapping>

however, I don't know what would be the semantic here.

2007/7/10, petchia <pe...@yahoo.com>:
>
> I've dug into the S2 and XWork code and I can't see anywhere that the "name"
> attribute of an exception mapping is used. Anyone have any clue about this?
> Is it just an used attribute that was intended for something that never got
> implemented? I'm at a loss here.
>
> -Bill
>
>
> petchia wrote:
> >
> > Anyone know what the "name" attribute of
> > <exception-mapping> tag in the Struts 2 configuration
> > file is used for?
> >
> > The doc at the following page doesn't mention it.
> >
> > http://struts.apache.org/2.0.8/docs/exception-configuration.html
> >
> > -Bill
> >
> >
> >
> > ____________________________________________________________________________________
> > Sick sense of humor? Visit Yahoo! TV's
> > Comedy with an Edge to see what's on, when.
> > http://tv.yahoo.com/collections/222
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> > For additional commands, e-mail: user-help@struts.apache.org
> >
> >
> >
>
> --
> View this message in context: http://www.nabble.com/-s2--What-is-the-name-attribute-of-%3Cexception-mapping%3E-tag-for--tf4049499.html#a11527086
> Sent from the Struts - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>

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


Re: [s2] What is the name attribute of tag for?

Posted by petchia <pe...@yahoo.com>.
I've dug into the S2 and XWork code and I can't see anywhere that the "name"
attribute of an exception mapping is used. Anyone have any clue about this?
Is it just an used attribute that was intended for something that never got
implemented? I'm at a loss here.

-Bill


petchia wrote:
> 
> Anyone know what the "name" attribute of
> <exception-mapping> tag in the Struts 2 configuration
> file is used for?
> 
> The doc at the following page doesn't mention it.
> 
> http://struts.apache.org/2.0.8/docs/exception-configuration.html
> 
> -Bill
> 
> 
>        
> ____________________________________________________________________________________
> Sick sense of humor? Visit Yahoo! TV's 
> Comedy with an Edge to see what's on, when. 
> http://tv.yahoo.com/collections/222
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/-s2--What-is-the-name-attribute-of-%3Cexception-mapping%3E-tag-for--tf4049499.html#a11527086
Sent from the Struts - User mailing list archive at Nabble.com.


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