You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Pedro Herrera <pe...@hotmail.com> on 2007/05/14 02:52:34 UTC
[s2] package and namespace info
I´d like more information to better use packages and namespaces in struts2
applications .
tks
Herrera
--
View this message in context: http://www.nabble.com/-s2--package-and-namespace-info-tf3740177.html#a10497570
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
Re: [s2] package and namespace info
Posted by Martin Gainty <mg...@hotmail.com>.
I found this helpful
http://struts.apache.org/2.x/docs/struts-1-solutions.html
The doc says
"In Struts 2, that technique is no longer necessary because we have
packages.
We can create a package, then set for that package
the default Result type,
Interceptor chain, and
global results.
(This leaves very little information to actually be included in an action
element.)"
Saludos/
Martín-
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed. If you have received this email message in error, please notify
the sender immediately by telephone or email and destroy the original
message without making a copy. Thank you.
----- Original Message -----
From: "Pedro Herrera" <pe...@hotmail.com>
To: <us...@struts.apache.org>
Sent: Sunday, May 13, 2007 8:52 PM
Subject: [s2] package and namespace info
I´d like more information to better use packages and namespaces in struts2
applications .
tks
Herrera
--
View this message in context:
http://www.nabble.com/-s2--package-and-namespace-info-tf3740177.html#a10497570
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] package and namespace info
Posted by Victor Neo <ic...@gmail.com>.
Found this in the S2 documentation:
http://struts.apache.org/2.x/docs/package-configuration.html S2 Package
Configuration
>From the page:
Packages are a way to group actions, results, result types, interceptors,
and interceptor-stacks into a logical configuration unit.
Conceptually, packages are similiar to objects in that they can be extended
and have individual parts that can be overridden by "sub" packages.
You can get more information from the page.
Regards,
Victor
Pedro Herrera wrote:
>
> NameSpace is clear to me, but In wich cases I must use packages ?
> (struts.xml)
>
> Herrera
>
>
>
> Victor Neo wrote:
>>
>> What do you mean by "to better use packages and namespaces"?
>>
>> Here are a couple of links that might help:
>> http://struts.apache.org/2.0.6/struts2-core/apidocs/index.html Struts 2
>> API Documentation
>> http://struts.apache.org/2.0.6/docs/big-picture.html Struts 2
>> Architecture
>>
>>
>> Pedro Herrera wrote:
>>>
>>> I´d like more information to better use packages and namespaces in
>>> struts2 applications .
>>>
>>> tks
>>>
>>>
>>> Herrera
>>>
>>>
>>
>>
>
>
--
View this message in context: http://www.nabble.com/-s2--package-and-namespace-info-tf3740177.html#a10605651
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
Re: [s2] package and namespace info
Posted by Pedro Herrera <pe...@hotmail.com>.
NameSpace is clear to me, but In wich cases I must use packages ?
(struts.xml)
Herrera
Victor Neo wrote:
>
> What do you mean by "to better use packages and namespaces"?
>
> Here are a couple of links that might help:
> http://struts.apache.org/2.0.6/struts2-core/apidocs/index.html Struts 2
> API Documentation
> http://struts.apache.org/2.0.6/docs/big-picture.html Struts 2
> Architecture
>
>
> Pedro Herrera wrote:
>>
>> I´d like more information to better use packages and namespaces in
>> struts2 applications .
>>
>> tks
>>
>>
>> Herrera
>>
>>
>
>
--
View this message in context: http://www.nabble.com/-s2--package-and-namespace-info-tf3740177.html#a10605292
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
Re: [s2] package and namespace info
Posted by Victor Neo <ic...@gmail.com>.
What do you mean by "to better use packages and namespaces"?
Here are a couple of links that might help:
http://struts.apache.org/2.0.6/struts2-core/apidocs/index.html Struts 2 API
Documentation
http://struts.apache.org/2.0.6/docs/big-picture.html Struts 2 Architecture
Pedro Herrera wrote:
>
> I´d like more information to better use packages and namespaces in struts2
> applications .
>
> tks
>
>
> Herrera
>
>
--
View this message in context: http://www.nabble.com/-s2--package-and-namespace-info-tf3740177.html#a10517257
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