Re: Re: long struts-config.xml file

2005-06-19 Thread John Henry Xu
- From: Laurie Harper To: user@struts.apache.org Subject: Re: long struts-config.xml file Date: Sat, 18 Jun 2005 23:20:35 -0400 Craig McClanahan wrote: Validation against the DTD requires two things: * Using the DOCTYPE declaration (as shown above) in the outer

Re: long struts-config.xml file

2005-06-19 Thread Dakota Jack
If they used new HashMap(89) instead of just new HashMap(), the lookup would not change for 2000 objects at all because the HashMap growth beyond the initial size is ((2 times initial size) plus 1) which with 89 as the starting point keeps the size of the HashMap with a prime number well over 2000

Re: long struts-config.xml file

2005-06-18 Thread Frank W. Zammetti
Craig McClanahan wrote: Of course, there's also an XML level solution to this problem, something that works even if the program that is reading the document doesn't support multiple configuration files -- XML entities. Now *THAT* I was totally unaware of... very cool! I love it... just woke

Re: long struts-config.xml file

2005-06-18 Thread John Henry Xu
are developed in java and on open source). - Original Message - From: Craig McClanahan To: Struts Users Mailing List Subject: Re: long struts-config.xml file Date: Fri, 17 Jun 2005 22:48:44 -0700 On 6/17/05, Frank W. Zammetti wrote: Good info Craig... So do I understand correctly

Re: long struts-config.xml file

2005-06-18 Thread Craig McClanahan
On 6/18/05, John Henry Xu [EMAIL PROTECTED] wrote: Craig wrote: -//Apache Software Foundation//DTD Struts Configuration 1.2//EN http://struts.apache.org/dtds/struts-config_1_2.dtd; [ ... ] package-a; package-b; ... where package-a.xml, package-b.xml and so on

Re: long struts-config.xml file

2005-06-18 Thread John Henry Xu
Craig, I had XML editors to do that. I will try the Struts Console you mentioned. - Original Message - From: Craig McClanahan To: Struts Users Mailing List Subject: Re: long struts-config.xml file Date: Sat, 18 Jun 2005 12:13:56 -0700 On 6/18/05, John Henry Xu wrote: Craig wrote

Re: long struts-config.xml file

2005-06-18 Thread Frank W. Zammetti
. - Original Message - From: Craig McClanahan To: Struts Users Mailing List Subject: Re: long struts-config.xml file Date: Sat, 18 Jun 2005 12:13:56 -0700 On 6/18/05, John Henry Xu wrote: Craig wrote: -//Apache Software Foundation//DTD Struts Configuration 1.2//EN http://struts.apache.org/dtds

Re: long struts-config.xml file

2005-06-18 Thread John Henry Xu
, Thank you for the link of Struts Console program. It looks better than the XML editor I used for struts before. Struts is a nice system. - Original Message - From: Frank W. Zammetti To: Struts Users Mailing List Subject: Re: long struts-config.xml file Date: Sat, 18 Jun 2005 18

Re: long struts-config.xml file

2005-06-18 Thread Laurie Harper
Craig McClanahan wrote: Validation against the DTD requires two things: * Using the DOCTYPE declaration (as shown above) in the outer configuration file * Setting the servlet init parameter validating to true in /WEB-INF/web.xml for the Struts ActionServlet It doesn't matter whether you use

Re: long struts-config.xml file

2005-06-18 Thread Craig McClanahan
Good catch Laurie ... through at least today's version of the 1.3 DTD, it is indeed sensitive to the order of the elements. For example, all the form-bean elements need to be before the action-mappings element that contains all the action elements. Therefore, if you're going to use the XML

Re: long struts-config.xml file

2005-06-17 Thread Nitesh
: 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

Re: long struts-config.xml file

2005-06-17 Thread Yuniar Setiawan
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 [EMAIL PROTECTED] To: user@struts.apache.org Sent: Friday, June 17, 2005 9:34 AM Subject: long struts-config.xml file

Re: long struts-config.xml file

2005-06-17 Thread Nitesh
parameters that could separate/group actions/jsps/etc together. Nitesh - Original Message - From: Yuniar Setiawan [EMAIL PROTECTED] To: Struts Users Mailing List user@struts.apache.org Sent: Friday, June 17, 2005 11:55 AM Subject: Re: long struts-config.xml file Is there any performance

Re: long struts-config.xml file

2005-06-17 Thread John Henry Xu
Yuniar and Nitesh, Thank you for your thinking about the problem. Do you have web link of web sites that has used struts for 200+ jsp pages? Thanks. - Original Message - From: Nitesh To: Struts Users Mailing List Subject: Re: long struts-config.xml file Date: Fri, 17 Jun 2005

Re: long struts-config.xml file

2005-06-17 Thread John Henry Xu
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

Re: long struts-config.xml file

2005-06-17 Thread Frank W. Zammetti
- 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

Re: long struts-config.xml file

2005-06-17 Thread Craig McClanahan
On 6/17/05, Frank W. Zammetti [EMAIL PROTECTED] wrote: The longest I have is 173 action mappings. I haven't noticed any performance problems with it. Struts basically loads it once at startup and from then on it's in-memory, so the only potential problem I could imagine is lookup speed, but

Re: long struts-config.xml file

2005-06-17 Thread Frank W. Zammetti
there is to it?... If so, I don't think I was aware of that, definitely not fully anyway, and thank you for pointing it out :) Frank -Original Message- From: Craig McClanahan[EMAIL PROTECTED] Sent: 6/18/05 1:05:17 AM To: Struts Users Mailing Listuser@struts.apache.org Subject: Re: long struts

Re: long struts-config.xml file

2005-06-17 Thread Frank W. Zammetti
there is to it?... If so, I don't think I was aware of that, definitely not fully anyway, and thank you for pointing it out :) Frank -Original Message- From: Craig McClanahan[EMAIL PROTECTED] Sent: 6/18/05 1:05:17 AM To: Struts Users Mailing Listuser@struts.apache.org Subject: Re: long struts

Re: long struts-config.xml file

2005-06-17 Thread Craig McClanahan
On 6/17/05, Frank W. Zammetti [EMAIL PROTECTED] wrote: Good info Craig... So do I understand correctly then that you can specify multiple config files for an app regardless of module usage (well, one with just the default module really)? Yep. I thought I saw someone mention a CSV list in

long struts-config.xml file

2005-06-16 Thread John Henry Xu
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?

Re: long struts-config.xml file

2005-06-16 Thread Riyaz Mansoor
depends on what version of struts u're working on. (i have never worked with 200 or so actions). :) 1) i reduced the number of actions using wildcards in action mapping, and a couple of hidden parameters that i pass to actions. kind of genericised the actions. 2) use extends where

Re: long struts-config.xml file

2005-06-16 Thread Yen
Is that possible, seperate the actions into modules and use the modules struts-config? - Original Message - From: John Henry Xu [EMAIL PROTECTED] To: user@struts.apache.org Sent: Friday, June 17, 2005 12:04 PM Subject: long struts-config.xml file Hi all, In a project I am working

RE: long struts-config.xml file

2005-06-16 Thread Venkata Krishna V.
/B.xml etc. Hope this helps you Regards, Venkat -Original Message- From: Yen [mailto:[EMAIL PROTECTED] Sent: Friday, June 17, 2005 11:03 AM To: Struts Users Mailing List Subject: Re: long struts-config.xml file Is that possible, seperate the actions into modules and use the modules struts