On Sat, 20 Dec 2003, Sudhakar G wrote:
> Hi,
> Can any one give me a example how struts supports multiple struts-config.xml
> file?
See the struts-example.war that comes with the distribution.
>
> Thanks in advance..
> cheers
> Sudhakar
>
>
>
>
>
>
>
> DISCLAIMER:
> This message (including attac
Mohan
-Original Message-
From: souravm [mailto:[EMAIL PROTECTED]
Sent: Saturday, December 20, 2003 12:28 PM
To: Struts Users Mailing List
Subject: RE: Multiple struts-config.xml
Hi Ashutosh,
My application is huge one and hence the single struts-config.xml
becomes bulky. Sometimes even
AIL PROTECTED]
Sent: Saturday, December 20, 2003 10:37 AM
To: Struts Users Mailing List
Subject: RE: Multiple struts-config.xml
Hi,
In order to use multiple struts config file, you need to modify the web
descriptor file as mentioned below.
Thus, the ActionServlet loads each of the application rela
Hi,
In order to use multiple struts config file, you need to modify the web descriptor
file as mentioned below.
Thus, the ActionServlet loads each of the application related config file.
action
org.apache.struts.action.ActionServlet
config
/WEB-INF/conf
Just specify whatever files you want to use as a comma-delimited list in
the web-xml. See the Struts Mailreader (struts-example) for a working
example.
HTH, Ted
Sudhakar G wrote:
Hi,
Can any one give me a example how struts supports multiple struts-config.xml
file?
Thanks in advance..
cheers
Su
If the tools are being developed by the same people, you'll probably be
better off using mutiple struts configuration files than modules.
Modules are best suited for when things are being developed by
independant parties who aren't working together.
If that doesn't describe you, then just give
I have some code on my website for having multiple
config files under Struts 1.0x, however, I never got
around to porting the code to 1.1x. You should be
able to look at the 1.0x code and somewhat easily port
it to 1.1x.
-james
[EMAIL PROTECTED]
http://www.jamesholmes.com/struts/
--- "Chen, De
other problem with resources?
-Original Message-
From: Struts Newsgroup [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 14, 2002 3:55 AM
To: [EMAIL PROTECTED]
Subject: Re: Multiple struts-config.xml files?
Subject: Re: Multiple struts-config.xml files?
From: "Jens Mander&quo
truts/
"Struts Newsgroup (@Basebeans.com)" wrote:
>
> Subject: Re: Multiple struts-config.xml files?
> From: "Jens Mander" <[EMAIL PROTECTED]>
> ===
>
> Which are the alterations required to allow struts 1.0 to permit multiple
> Action Servlets?
> Doesn&
1.0.
Jin
- Original Message -
From: "Struts Newsgroup" <@[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, February 14, 2002 8:55 AM
Subject: Re: Multiple struts-config.xml files?
> Subject: Re: Multiple struts-config.xml files?
> From: "Jens Mande
Subject: Re: Multiple struts-config.xml files?
From: "Jens Mander" <[EMAIL PROTECTED]>
===
Which are the alterations required to allow struts 1.0 to permit multiple
Action Servlets?
Doesn't a container (e.g. Tomcat) generate separate instances for each
action servlet which
Struts 1.0 isn't designed to permit multiple ActionServlets. Unless
you've made some alterations, there may be threading problems.
Struts 1.1 does speak to the issues you raise, but we are all still
getting our heads around it, and trying to put some documentation
together.
I was also just thi
I just had one ActionServlet, and for each action
defined in it's struts-config.xml, there is a separate
forward defined per role (prefixed by role name).
"role1_success"
"role2_success" etc.
All forward name strings (e.g. "success") get intercepted essentially by a
super
class Action and then th
See the mail archive:
http://www.mail-archive.com/struts-user@jakarta.apache.org/msg13197.html
it's in the middle of the message.
Original Message Follows
From: Mike Dewhirst <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
Subject: multiple
14 matches
Mail list logo