Do you really want them in separate packages or do you just want them in
separate directories.  It seems to me that you are looking for a particular
organization of files during development, so you can keep all the like files
together.  Seems reasonable enough.  If that is the case then you can create
a series of "src" directories that mirror the classpath but only hold
particular files.  

So,

src/main/java/actions/se/intranet/apps/actions/myAction.java
src/main/java/properties/se/intranet/apps/actions/myAction.properties
src/main/java/validation/se/intranet/apps/actions/myAction-validation.xml

They all have the same packages and classpath, but they are organized how
you think of them.   I think....or you think....or I think you think....



Dallas wrote:
> 
> Hi all!
> 
> I´m wondering if there´s any way of configuring struts2 to allow 
> me to keep actions, properties and validation in separate packages?
> 
> At the moment I have one packages, se.intranet.apps which includes
> all my actions, properties and validations.
> 
> I´d rather keep them in separate packages, like
> se.intranet.apps.actions
> se.intranet.apps.properties
> se.intranet.apps.validation
> 
> Any idea on how to do this?
> I´ve tried reading up on localazation, but looking at 
> http://struts.apache.org/2.0.6/docs/localization.html the documentation  
> it doesn´t look possible...
> 

-- 
View this message in context: 
http://www.nabble.com/Actions%2C-properties-and-validation-in-separate-packages--tp18274471p18298623.html
Sent from the Struts - User mailing list archive at Nabble.com.


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

Reply via email to