-
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
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
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
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
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
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
.
- 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
,
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
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
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
: 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
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
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
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
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
- 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
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
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
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
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
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?
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
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
/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
24 matches
Mail list logo