Yuniar and Nitesh, Thanks for replies. There are two possibilities struts could do with struts-config.xml.
1. load this file from server start up. save it in memory. or 2. read when it use it. The second possibility would have performance issue. So I assume struts use first possibility. The problem was maintenance. If a true large application (may have 500+ or even 1000+), the file become so complicated and easy to be messed up if one need add or change configurations. Maybe then have to separate by groups under webapps. Even so, many small groups are not convenient. So I thought someone may had this problem before and hopefully someone already deal with it. It is also strange that I did not find blogs or forums written by struts (but lots of phps). I think java is more powerful and can add a lot of more functionalities easier than phps. Jack H. Xu Technology columnist and author http://www.usanalyst.com http://www.getusjobs.com ----- Original Message ----- From: Nitesh To: "Struts Users Mailing List" Subject: Re: long struts-config.xml file Date: Fri, 17 Jun 2005 13:10:16 +0530 > > There may not be a performance issue... > probably could have some effect in startup (not sure if there are > any though!) . > > Mainly this would be done to make your config files more 'readable' > Also it makes sense to group the related ones together depending on > functionality/module or whatever parameters that could > separate/group actions/jsps/etc together. > > Nitesh > > ----- Original Message ----- From: "Yuniar Setiawan" > > To: "Struts Users Mailing List" > Sent: Friday, June 17, 2005 11:55 AM > Subject: Re: long struts-config.xml file > > > Is there any performance issue when you have very long struts-config.xml? > I'm having about 200+ action either but so far everything is running well, > or perhaps not yet? > > On 6/17/05, Nitesh wrote: > > > > You could also think about using multiple struts-config files... say one > > for > > each module and use them (in the web.xml for action param-value give the > > comma separated config file list.) > > > > Nitesh > > > > ----- Original Message ----- > > From: "John Henry Xu" > > To: > > Sent: Friday, June 17, 2005 9:34 AM > > Subject: long struts-config.xml file > > > > > > Hi all, > > > > In a project I am working on, we have a very lengthy struts-config.xml > > file to handle complex actions jsps (200+) take. > > > > Does anyone have this situation (very complex struts-config.xml)? Please > > tell me about your experience. > > > > Also, anyone see a blog or forum written by struts technology? If you > > know, can you tell me the link? > > > > Thanks. > > > > Jack H. Xu > > Technology columnist and > > authorhttp://www.usanalyst.comhttp://www.getusjobs.com > > > > -- > > ___________________________________________________________ > > Sign-up for Ads Free at Mail.com > > http://promo.mail.com/adsfreejump.htm > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] Jack H. Xu Technology columnist and author http://www.usanalyst.com http://www.getusjobs.com -- ___________________________________________________________ Sign-up for Ads Free at Mail.com http://promo.mail.com/adsfreejump.htm