If your concern is with the physical size of your file, you can break down
your struts-config into multiple files with your entries spread among them.
What I do is have a main struts-config.xml containing my global values and
all plug-ins, then have several struts-config-nnn.xml files for nnn-related
forms and action mappings.
Can't say I've tried profiling the effect of having a large number of
mappings as a result of a large config file. I'd imagine there'd be some
difference at the startup of the app while Struts parses your config.
Overall, though, I wouldn't really worry about it. In most cases, I'd say
the effect at runtime, if any, would be negligible in terms of speed.
--- Riyad Kalla <[EMAIL PROTECTED]> wrote:
> I'm curious what the size of some of the verteran programmer's
> struts-config.xml files are. Mine is approaching 2k lines right now, and
> I'm
> about 1/2 done with the project I'm working on.
>
> I don't know if I should really start worrying about performance/other
> issues,
> or if this is normal and I should smile and keep working.
>
> Thanks!
> Riyad
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
__________________________________
Do you Yahoo!?
Friends. Fun. Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]