Hello,

 thanks very much for the reply.

I was going to have maven modules in my project ..so was thinking how to
handle struts xml.
 
Hence asked the question.

Thanks again...


Robert Graf-Waczenski wrote:
> 
> David C. Hicks wrote:
>> It's just a resource on your classpath like any other.  Never done it, 
>> but you should be able to without any problem.
>>
>>
>> sudhi123 wrote:
>>> Hello ...
>>>
>>>
>>>   I am quite new to struts2
>>>   I just want to know how to break struts.xml in to a module (jar).
>>>
>>>   Anybody has done this ...?
>>>
>>>  Thanks for your help in advance.
> 
> A bit more specific: In order to make your struts.xml available to the 
> framework, it must be in the root level of one of your classpath 
> entries. So, yes, you can place a struts.xml in a jar file, but if you 
> need multiple struts.xml files for several modules, then each must go 
> into its own private jar file and each of those must be in your classpath.
> 
> Robert
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/breaking-struts.xml-tp22702041p22709929.html
Sent from the Struts - User mailing list archive at Nabble.com.


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

Reply via email to