You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Pat Young <pa...@yahoo.com> on 2003/03/20 22:13:51 UTC

struts-config.xml

I am curious as to how others are working with the
struts-config.xml file.  I am working on a large
project with a team of 8 other developers.  So far we
have over 200 actions.  The struts-config.xml is
becoming a bottle neck, because each developer needs
to update the file at the same with entries into this
file.  Does anyone have any ideas as to how to make
working with this file any easier?  Thanks in advance.

Pay Young

__________________________________________________
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
http://platinum.yahoo.com

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


Using putlist for Menus

Posted by Nathan Steiner <ns...@palmharbor.com>.
I was leaning towards defining my menus with putlist. However, there will be
instances where I will need to dynamically append a querystring to one or
more of the links in the menu.

Can this be accomplished using tiles definitions? If so, how?

Thanks,

Nate


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


Re: struts-config.xml

Posted by Lionel Roux <li...@OpenSourceConsulting.info>.
You use the new module architecture.
This allows you to separate your application in multiple modules and each
module have its own config file.

reguards.

Lionel Roux
__________________________________________
Lionel Roux
mail: lionel.roux@OpenSourceConsulting.info
__________________________________________
This messages is certified virus free by NAV 2003
----- Original Message -----
From: "Pat Young" <pa...@yahoo.com>
To: <st...@jakarta.apache.org>
Sent: Thursday, March 20, 2003 10:13 PM
Subject: struts-config.xml


> I am curious as to how others are working with the
> struts-config.xml file.  I am working on a large
> project with a team of 8 other developers.  So far we
> have over 200 actions.  The struts-config.xml is
> becoming a bottle neck, because each developer needs
> to update the file at the same with entries into this
> file.  Does anyone have any ideas as to how to make
> working with this file any easier?  Thanks in advance.
>
> Pay Young
>
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
> http://platinum.yahoo.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>
>



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


Re: struts-config.xml

Posted by Dave Patton <da...@mymobile.info>.
Use a concurrent source code control mechanism such as CVS.  This way
multiple people can work on on the same file at the same time.

On Thu, 2003-03-20 at 13:13, Pat Young wrote:

> I am curious as to how others are working with the
> struts-config.xml file.  I am working on a large
> project with a team of 8 other developers.  So far we
> have over 200 actions.  The struts-config.xml is
> becoming a bottle neck, because each developer needs
> to update the file at the same with entries into this
> file.  Does anyone have any ideas as to how to make
> working with this file any easier?  Thanks in advance.
> 
> Pay Young
> 
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
> http://platinum.yahoo.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org



_________________________________
David H. Patton
dave@mymobile.info
(202) 276-8998 - pcs

-----BEGIN PGP PUBLIC KEY BLOCK----- 

Version: PGPfreeware 7.0.3 for non-commercial use <http://www.pgp.com> 

mQENBDui6osBCADP9OqVftQ2qxZz2fsxEf6GT6V2Fu0c2iIIMeWGyc5Pwl+xXe2w 
3wx2pmNkLy3Zjp2/5q4nhvJd/GVn5gRR9OVTKgAz4o+xcOcAVIbgz3xFICbLozKa 
2aZOUDtOu0TuYGhI9iIeGuPjnMjsS38EfZQ2DWwd+p5UW6wnsSuG7xniUT372v8w 
YrtUwnKQwjRUGUlZoX1zwvJj50xEzipyyHosMuzjoHme+d+MEECRhAK81p0487kl 
X0UMXBehnsFK1mjbtQgfy2fdk0KT4NxKSD5s8ojoSdJ7R5CMwvh1UM4v2aAEqKvE 
CYaCWrAfZ7+TQGHXu75ejJz1iIuUno1fVsgLABEBAAG0IkRhdmUgUGF0dG9uIDxk 
cGF0dG9uQG52ZW50dXJlLmNvbT6JAS4EEAECABgFAjui6osICwMJCAcCAQoCGQEF 
GwMAAAAACgkQ5ZDkPqeKwH9Xswf/aP2WGiAU+HFxV136uKW5oDtZtSvm0YuW69Ra 
A2dPKFPp6E7v+w2c7yEV4+ZkVxbfk+VOh3p1MpXR367nQl9C+jMAD7MvPU6/KI+T 
5WDzzKEGsyxOI+GYeGRKO0ZAYITG9HxevvKa1GMHBwRYNr2Qv62ckkHTy5rdmzZe 
PFM/am8B9maH5gKg6oIqzJwfmvb+ll8DRbhfI25trLqzggifrFcZHkOwTVGLNfdM 
cPWK/Yu4dOLAKCow06q0G/tDmXNkcyx12R6Z4Y/cQ5Qyvt1WP+eQAM/HBJI8rR9c 
cxS80pEorJIx4a7x9EsiwmB8milqBrXqHN2GRe/PnZSM9czBK7kBDQQ7ouqNAQgA 
sWO4lchFwK6leJClCpdaCjL4oUGjiZorW+XG2YKtQW6a+oYlplcHFkMSibkTN6Jc 
RdPEkarRvJ7sj+UgsUfkj4//EtqARuHTXhnMlsjqISTXlS2l61fQFg1d0iwvinyV 
sq6lVDtrr7UBe2b5TOuoRe13CzGWyhNQafV1gMcpBx9KxNi24UowJiT+cJpnxMCu 
+DNElC2AmG7phPagSFL8F4f++dGL2l8kAkxCSCl3Kr+8HUlFmOwwZ1PGSSM83pM/ 
NNZKDAdGUiBRKqC32oOhKacxb6cf4ta1kZ6GDZcqVo+5qlz4OtUKbRLtW5Y8tiFc 
PwkDePX/F1490V3YWgHVzwARAQABiQEiBBgBAgAMBQI7ouqNBRsMAAAAAAoJEOWQ 
5D6nisB/8xsIAJLNUQC8SOQF5txBrO22W7uAJ9xU9RK66Pyf9a+KjdNf4rE6vK4n 
vhbSGmtoPB4bzOQ9RKpo8ihBQp1cY9mLnwuJDKSuzpkaOK5pd+bifwY20tweULR6 
4rtU8uLL1H0eom2IBjSXhf4n8DEdyrGKKHYNO/GRLx/UHHcLEFvz+4buHrCPoiBP 
JwjS/Ifg5xc3nTJnZmG2HzapoRwgXxGitbNTArUZWkqHYLygA1/ilmnFs8POj/s+ 
TD4wSuDlrwE2CE2O8XbRuRVPryzn8mXXdZ1pSwrrvZjRU5rnDRAOqhHZQQbudVd3 
XvnDDBDoURSqwDqnwOkoOSTC95aj+vy5WW0= 
=/zoc 

-----END PGP PUBLIC KEY BLOCK-----

Re: struts-config.xml

Posted by Joseph Fifield <jf...@programmerplanet.org>.
Just set your 'config' init-param to something like this:

<init-param>
    <param-name>config</param-name>
    <param-value>
        /WEB-INF/struts-config-main.xml,
        /WEB-INF/struts-config-customer.xml,
        /WEB-INF/struts-config-order.xml,
        /WEB-INF/struts-config-inventory.xml
    </param-value>
</init-param>

Joe

----- Original Message -----
From: "Richard Raquepo" <rr...@primeorion.com>
To: "Struts Users Mailing List" <st...@jakarta.apache.org>
Sent: Thursday, March 20, 2003 8:08 PM
Subject: Re: struts-config.xml


> can you give us a working of your web.xml.
> i'm kind of thinking your kind of solution.
> thanks...
> ----- Original Message -----
> From: "Joseph Fifield" <jf...@programmerplanet.org>
> To: "'Struts Users Mailing List'" <st...@jakarta.apache.org>
> Sent: Friday, March 21, 2003 5:26 AM
> Subject: RE: struts-config.xml
>
>
> > If you are using 1.1, you can simply split the file into multiple files,
> > and list each comma-delimited in web.xml. IIRC, this was new in 1.1b3.
> > We have one for every major part of our application, and it required no
> > additional code changes.
> >
> > Joe
> >
> > > -----Original Message-----
> > > From: Pat Young [mailto:patyoung100@yahoo.com]
> > > Sent: Thursday, March 20, 2003 4:23 PM
> > > To: Struts Users Mailing List
> > > Subject: RE: struts-config.xml
> > >
> > >
> > > Yes, I have looked at sub-applications and we are
> > > considering it.  Using sub-applications does have some
> > > technical considerations that have to be accounted
> > > for.    I realize that we could use a merge feature of
> > > a versioning tool also.  I was curious if anyone had
> > > any other creative ideas around this problem or if
> > > there was a feature in Struts that I had missed.
> > >
> > > Pat Young
> > >
> > >
> > >
> > > --- Mike Jasnowski <mj...@bea.com> wrote:
> > > > Well, version control considerations aside (for
> > > > issues around merges when
> > > > new struts-config.xml are checked in), Have you also
> > > > looked at Struts
> > > > sub-applications? Each can have it's own
> > > > struts-config.xml.
> > > >
> > > > -----Original Message-----
> > > > From: Pat Young [mailto:patyoung100@yahoo.com]
> > > > Sent: Thursday, March 20, 2003 4:14 PM
> > > > To: struts-user@jakarta.apache.org
> > > > Subject: struts-config.xml
> > > >
> > > >
> > > > I am curious as to how others are working with the
> > > struts-config.xml
> > > > file.  I am working on a large project with a team of 8 other
> > > > developers.  So far we
> > > > have over 200 actions.  The struts-config.xml is
> > > > becoming a bottle neck, because each developer needs
> > > > to update the file at the same with entries into
> > > > this
> > > > file.  Does anyone have any ideas as to how to make
> > > > working with this file any easier?  Thanks in
> > > > advance.
> > > >
> > > > Pay Young
> > > >
> > > > __________________________________________________
> > > > Do you Yahoo!?
> > > > Yahoo! Platinum - Watch CBS' NCAA March Madness,
> > > > live on your desktop!
> > > > http://platinum.yahoo.com
> > > >
> > > >
> > > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> > > > For additional commands, e-mail:
> > > > struts-user-help@jakarta.apache.org
> > > >
> > > >
> > > >
> > > >
> > > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> > > > For additional commands, e-mail:
> > > > struts-user-help@jakarta.apache.org
> > > >
> > >
> > >
> > > __________________________________________________
> > > Do you Yahoo!?
> > > Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your
> > > desktop! http://platinum.yahoo.com
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail: struts-user-help@jakarta.apache.org
> > >
> > >
> > >
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: struts-user-help@jakarta.apache.org
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>
>
>


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


Re: struts-config.xml

Posted by Richard Raquepo <rr...@primeorion.com>.
can you give us a working of your web.xml.
i'm kind of thinking your kind of solution.
thanks...
----- Original Message ----- 
From: "Joseph Fifield" <jf...@programmerplanet.org>
To: "'Struts Users Mailing List'" <st...@jakarta.apache.org>
Sent: Friday, March 21, 2003 5:26 AM
Subject: RE: struts-config.xml


> If you are using 1.1, you can simply split the file into multiple files,
> and list each comma-delimited in web.xml. IIRC, this was new in 1.1b3.
> We have one for every major part of our application, and it required no
> additional code changes.
> 
> Joe
> 
> > -----Original Message-----
> > From: Pat Young [mailto:patyoung100@yahoo.com] 
> > Sent: Thursday, March 20, 2003 4:23 PM
> > To: Struts Users Mailing List
> > Subject: RE: struts-config.xml
> > 
> > 
> > Yes, I have looked at sub-applications and we are
> > considering it.  Using sub-applications does have some 
> > technical considerations that have to be accounted
> > for.    I realize that we could use a merge feature of
> > a versioning tool also.  I was curious if anyone had
> > any other creative ideas around this problem or if
> > there was a feature in Struts that I had missed.
> > 
> > Pat Young
> > 
> > 
> > 
> > --- Mike Jasnowski <mj...@bea.com> wrote:
> > > Well, version control considerations aside (for
> > > issues around merges when
> > > new struts-config.xml are checked in), Have you also
> > > looked at Struts
> > > sub-applications? Each can have it's own
> > > struts-config.xml.
> > > 
> > > -----Original Message-----
> > > From: Pat Young [mailto:patyoung100@yahoo.com]
> > > Sent: Thursday, March 20, 2003 4:14 PM
> > > To: struts-user@jakarta.apache.org
> > > Subject: struts-config.xml
> > > 
> > > 
> > > I am curious as to how others are working with the 
> > struts-config.xml 
> > > file.  I am working on a large project with a team of 8 other 
> > > developers.  So far we
> > > have over 200 actions.  The struts-config.xml is
> > > becoming a bottle neck, because each developer needs
> > > to update the file at the same with entries into
> > > this
> > > file.  Does anyone have any ideas as to how to make
> > > working with this file any easier?  Thanks in
> > > advance.
> > > 
> > > Pay Young
> > > 
> > > __________________________________________________
> > > Do you Yahoo!?
> > > Yahoo! Platinum - Watch CBS' NCAA March Madness,
> > > live on your desktop!
> > > http://platinum.yahoo.com
> > > 
> > >
> > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail:
> > > struts-user-help@jakarta.apache.org
> > > 
> > > 
> > > 
> > >
> > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail:
> > > struts-user-help@jakarta.apache.org
> > > 
> > 
> > 
> > __________________________________________________
> > Do you Yahoo!?
> > Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your 
> > desktop! http://platinum.yahoo.com
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: struts-user-help@jakarta.apache.org
> > 
> > 
> > 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
> 
> 


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


Re: struts-config.xml

Posted by Sloan Seaman <sl...@sgi.net>.
Here is a snipit of my struts-config.skeleton.xml:
<form-beans>
  @core.formbean
  @campaign.formbean
  @promotion.formbean
  @promotionTypes.pantryLoading.formbean
</form-beans>
<action-mappings>
  @core.action
  @campaign.action
  @promotion.action
  @promotionTypes.pantryLoading.action
</action-mappings>

Here is the snipit from the build:
Notes: there may be a better way to do this, this was quick and dirty
Also, each individual developer has three files:
struts-action.xml
struts-formbean.xml
validation.xml

I use struts-action for the actions, struts-formbean for the formbeans, and
I also build the validation file so that is what validation.xml is for....

 <target name="struts.config.build">
  <echo message="Building struts-config.xml"/>
  <delete file="${j2ee.struts}"/>  <!-- struts-config.xml -->
  <!-- build the struts-config.xml -->
  <copy file="${j2ee.struts.skeleton}"
   tofile="${j2ee.struts}"/>

  <loadfile property="struts.config.core.action"
   srcFile="${src.core}/${j2ee.struts.action}"/>
  <loadfile property="struts.config.core.formbean"
   srcFile="${src.core}/${j2ee.struts.formbean}"/>
  <replace file="${j2ee.struts}"
   token="@core.action"
   value="${struts.config.core.action}"/>
  <replace file="${j2ee.struts}"
   token="@core.formbean"
   value="${struts.config.core.formbean}"/>

You should be able to get this gist from that....

Works very well....

--
Sloan

----- Original Message -----
From: "Dan Allen" <da...@mojavelinux.com>
To: "Struts Users Mailing List" <st...@jakarta.apache.org>
Sent: Friday, March 21, 2003 9:31 AM
Subject: Re: struts-config.xml


> Sloan Seaman (sloan@sgi.net) wrote:
>
> > You can also have imultiple files and then have ANT use a skeleton
> > struts-config.xml file to build the final file.
> >
> > Just use variable replacement in ANT to insert all the seperate files
into
> > one master file (that is how we do it)
>
> Great idea!  Who cares what the deployed struts-config.xml file
> looks like after all.  Man, maybe struts developers could have saved
> the time and just relied on ant.  Oh well, guess options are good.
>
> Mind you code post?  Okay, I won't beat around the bush, can you
> post that snippet from your ant build file?  I would be most
> appreciative!
>
> Dan
>
> --
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> Daniel Allen, <da...@mojavelinux.com>
> http://www.mojavelinux.com/
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> Real programmers just hate to get up in the morning, and
> contrary to Ordinary People, they're in better shape as
> it gets closer to nighttime.
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>
>


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


Re: struts-config.xml

Posted by Dan Allen <da...@mojavelinux.com>.
Sloan Seaman (sloan@sgi.net) wrote:

> You can also have imultiple files and then have ANT use a skeleton
> struts-config.xml file to build the final file.
> 
> Just use variable replacement in ANT to insert all the seperate files into
> one master file (that is how we do it)

Great idea!  Who cares what the deployed struts-config.xml file
looks like after all.  Man, maybe struts developers could have saved
the time and just relied on ant.  Oh well, guess options are good.

Mind you code post?  Okay, I won't beat around the bush, can you
post that snippet from your ant build file?  I would be most
appreciative!

Dan

-- 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
Daniel Allen, <da...@mojavelinux.com>
http://www.mojavelinux.com/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
Real programmers just hate to get up in the morning, and 
contrary to Ordinary People, they're in better shape as 
it gets closer to nighttime.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 

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


Re: struts-config.xml

Posted by Sloan Seaman <sl...@sgi.net>.
You can also have imultiple files and then have ANT use a skeleton
struts-config.xml file to build the final file.

Just use variable replacement in ANT to insert all the seperate files into
one master file (that is how we do it)

--
Sloan

----- Original Message -----
From: "Joseph Fifield" <jf...@programmerplanet.org>
To: "'Struts Users Mailing List'" <st...@jakarta.apache.org>
Sent: Thursday, March 20, 2003 4:26 PM
Subject: RE: struts-config.xml


> If you are using 1.1, you can simply split the file into multiple files,
> and list each comma-delimited in web.xml. IIRC, this was new in 1.1b3.
> We have one for every major part of our application, and it required no
> additional code changes.
>
> Joe
>
> > -----Original Message-----
> > From: Pat Young [mailto:patyoung100@yahoo.com]
> > Sent: Thursday, March 20, 2003 4:23 PM
> > To: Struts Users Mailing List
> > Subject: RE: struts-config.xml
> >
> >
> > Yes, I have looked at sub-applications and we are
> > considering it.  Using sub-applications does have some
> > technical considerations that have to be accounted
> > for.    I realize that we could use a merge feature of
> > a versioning tool also.  I was curious if anyone had
> > any other creative ideas around this problem or if
> > there was a feature in Struts that I had missed.
> >
> > Pat Young
> >
> >
> >
> > --- Mike Jasnowski <mj...@bea.com> wrote:
> > > Well, version control considerations aside (for
> > > issues around merges when
> > > new struts-config.xml are checked in), Have you also
> > > looked at Struts
> > > sub-applications? Each can have it's own
> > > struts-config.xml.
> > >
> > > -----Original Message-----
> > > From: Pat Young [mailto:patyoung100@yahoo.com]
> > > Sent: Thursday, March 20, 2003 4:14 PM
> > > To: struts-user@jakarta.apache.org
> > > Subject: struts-config.xml
> > >
> > >
> > > I am curious as to how others are working with the
> > struts-config.xml
> > > file.  I am working on a large project with a team of 8 other
> > > developers.  So far we
> > > have over 200 actions.  The struts-config.xml is
> > > becoming a bottle neck, because each developer needs
> > > to update the file at the same with entries into
> > > this
> > > file.  Does anyone have any ideas as to how to make
> > > working with this file any easier?  Thanks in
> > > advance.
> > >
> > > Pay Young
> > >
> > > __________________________________________________
> > > Do you Yahoo!?
> > > Yahoo! Platinum - Watch CBS' NCAA March Madness,
> > > live on your desktop!
> > > http://platinum.yahoo.com
> > >
> > >
> > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail:
> > > struts-user-help@jakarta.apache.org
> > >
> > >
> > >
> > >
> > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail:
> > > struts-user-help@jakarta.apache.org
> > >
> >
> >
> > __________________________________________________
> > Do you Yahoo!?
> > Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your
> > desktop! http://platinum.yahoo.com
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: struts-user-help@jakarta.apache.org
> >
> >
> >
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>
>


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


RE: struts-config.xml

Posted by Pat Young <pa...@yahoo.com>.
Thanks Joseph!  This is exactly the solution we are
looking for.  We can break our struts-config.xml file
into multiple files and do not have the added
complexity of using application modules.

Pat Young


--- Joseph Fifield <jf...@programmerplanet.org>
wrote:
> If you are using 1.1, you can simply split the file
> into multiple files,
> and list each comma-delimited in web.xml. IIRC, this
> was new in 1.1b3.
> We have one for every major part of our application,
> and it required no
> additional code changes.
> 
> Joe
> 
> > -----Original Message-----
> > From: Pat Young [mailto:patyoung100@yahoo.com] 
> > Sent: Thursday, March 20, 2003 4:23 PM
> > To: Struts Users Mailing List
> > Subject: RE: struts-config.xml
> > 
> > 
> > Yes, I have looked at sub-applications and we are
> > considering it.  Using sub-applications does have
> some 
> > technical considerations that have to be accounted
> > for.    I realize that we could use a merge
> feature of
> > a versioning tool also.  I was curious if anyone
> had
> > any other creative ideas around this problem or if
> > there was a feature in Struts that I had missed.
> > 
> > Pat Young
> > 
> > 
> > 
> > --- Mike Jasnowski <mj...@bea.com> wrote:
> > > Well, version control considerations aside (for
> > > issues around merges when
> > > new struts-config.xml are checked in), Have you
> also
> > > looked at Struts
> > > sub-applications? Each can have it's own
> > > struts-config.xml.
> > > 
> > > -----Original Message-----
> > > From: Pat Young [mailto:patyoung100@yahoo.com]
> > > Sent: Thursday, March 20, 2003 4:14 PM
> > > To: struts-user@jakarta.apache.org
> > > Subject: struts-config.xml
> > > 
> > > 
> > > I am curious as to how others are working with
> the 
> > struts-config.xml 
> > > file.  I am working on a large project with a
> team of 8 other 
> > > developers.  So far we
> > > have over 200 actions.  The struts-config.xml is
> > > becoming a bottle neck, because each developer
> needs
> > > to update the file at the same with entries into
> > > this
> > > file.  Does anyone have any ideas as to how to
> make
> > > working with this file any easier?  Thanks in
> > > advance.
> > > 
> > > Pay Young
> > > 
> > >
> __________________________________________________
> > > Do you Yahoo!?
> > > Yahoo! Platinum - Watch CBS' NCAA March Madness,
> > > live on your desktop!
> > > http://platinum.yahoo.com
> > > 
> > >
> >
>
---------------------------------------------------------------------
> > > To unsubscribe, e-mail:
> struts-user-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail:
> > > struts-user-help@jakarta.apache.org
> > > 
> > > 
> > > 
> > >
> >
>
---------------------------------------------------------------------
> > > To unsubscribe, e-mail:
> struts-user-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail:
> > > struts-user-help@jakarta.apache.org
> > > 
> > 
> > 
> > __________________________________________________
> > Do you Yahoo!?
> > Yahoo! Platinum - Watch CBS' NCAA March Madness,
> live on your 
> > desktop! http://platinum.yahoo.com
> > 
> >
>
---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> struts-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail:
> struts-user-help@jakarta.apache.org
> > 
> > 
> > 
> 
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
> struts-user-help@jakarta.apache.org
> 


__________________________________________________
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
http://platinum.yahoo.com

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


RE: struts-config.xml

Posted by Joseph Fifield <jf...@programmerplanet.org>.
If you are using 1.1, you can simply split the file into multiple files,
and list each comma-delimited in web.xml. IIRC, this was new in 1.1b3.
We have one for every major part of our application, and it required no
additional code changes.

Joe

> -----Original Message-----
> From: Pat Young [mailto:patyoung100@yahoo.com] 
> Sent: Thursday, March 20, 2003 4:23 PM
> To: Struts Users Mailing List
> Subject: RE: struts-config.xml
> 
> 
> Yes, I have looked at sub-applications and we are
> considering it.  Using sub-applications does have some 
> technical considerations that have to be accounted
> for.    I realize that we could use a merge feature of
> a versioning tool also.  I was curious if anyone had
> any other creative ideas around this problem or if
> there was a feature in Struts that I had missed.
> 
> Pat Young
> 
> 
> 
> --- Mike Jasnowski <mj...@bea.com> wrote:
> > Well, version control considerations aside (for
> > issues around merges when
> > new struts-config.xml are checked in), Have you also
> > looked at Struts
> > sub-applications? Each can have it's own
> > struts-config.xml.
> > 
> > -----Original Message-----
> > From: Pat Young [mailto:patyoung100@yahoo.com]
> > Sent: Thursday, March 20, 2003 4:14 PM
> > To: struts-user@jakarta.apache.org
> > Subject: struts-config.xml
> > 
> > 
> > I am curious as to how others are working with the 
> struts-config.xml 
> > file.  I am working on a large project with a team of 8 other 
> > developers.  So far we
> > have over 200 actions.  The struts-config.xml is
> > becoming a bottle neck, because each developer needs
> > to update the file at the same with entries into
> > this
> > file.  Does anyone have any ideas as to how to make
> > working with this file any easier?  Thanks in
> > advance.
> > 
> > Pay Young
> > 
> > __________________________________________________
> > Do you Yahoo!?
> > Yahoo! Platinum - Watch CBS' NCAA March Madness,
> > live on your desktop!
> > http://platinum.yahoo.com
> > 
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail:
> > struts-user-help@jakarta.apache.org
> > 
> > 
> > 
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail:
> > struts-user-help@jakarta.apache.org
> > 
> 
> 
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your 
> desktop! http://platinum.yahoo.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
> 
> 
> 



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


RE: struts-config.xml

Posted by Pat Young <pa...@yahoo.com>.
Yes, I have looked at sub-applications and we are
considering it.  Using sub-applications does have some
technical considerations that have to be accounted
for.    I realize that we could use a merge feature of
a versioning tool also.  I was curious if anyone had
any other creative ideas around this problem or if
there was a feature in Struts that I had missed.

Pat Young



--- Mike Jasnowski <mj...@bea.com> wrote:
> Well, version control considerations aside (for
> issues around merges when
> new struts-config.xml are checked in), Have you also
> looked at Struts
> sub-applications? Each can have it's own
> struts-config.xml.
> 
> -----Original Message-----
> From: Pat Young [mailto:patyoung100@yahoo.com]
> Sent: Thursday, March 20, 2003 4:14 PM
> To: struts-user@jakarta.apache.org
> Subject: struts-config.xml
> 
> 
> I am curious as to how others are working with the
> struts-config.xml file.  I am working on a large
> project with a team of 8 other developers.  So far
> we
> have over 200 actions.  The struts-config.xml is
> becoming a bottle neck, because each developer needs
> to update the file at the same with entries into
> this
> file.  Does anyone have any ideas as to how to make
> working with this file any easier?  Thanks in
> advance.
> 
> Pay Young
> 
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Platinum - Watch CBS' NCAA March Madness,
> live on your desktop!
> http://platinum.yahoo.com
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
> struts-user-help@jakarta.apache.org
> 
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
> struts-user-help@jakarta.apache.org
> 


__________________________________________________
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
http://platinum.yahoo.com

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


RE: struts-config.xml

Posted by Mike Jasnowski <mj...@bea.com>.
Well, version control considerations aside (for issues around merges when
new struts-config.xml are checked in), Have you also looked at Struts
sub-applications? Each can have it's own struts-config.xml.

-----Original Message-----
From: Pat Young [mailto:patyoung100@yahoo.com]
Sent: Thursday, March 20, 2003 4:14 PM
To: struts-user@jakarta.apache.org
Subject: struts-config.xml


I am curious as to how others are working with the
struts-config.xml file.  I am working on a large
project with a team of 8 other developers.  So far we
have over 200 actions.  The struts-config.xml is
becoming a bottle neck, because each developer needs
to update the file at the same with entries into this
file.  Does anyone have any ideas as to how to make
working with this file any easier?  Thanks in advance.

Pay Young

__________________________________________________
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
http://platinum.yahoo.com

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



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