The subject explains most of it.. 

I have a simple print line in the init function of my tool. On every
page I hit .. including pages that don't use the tool (This makes some
sense to me), the init function is called 22 times. This seams strange
and wrong to me? This leads me to believe that every tool in the request
scope will have similar behavior??? This is quite a bit of over head.

I am using Velocity with Struts / Tiles if that makes a difference. 

Is there any way to stop this? Am I using the tool box inappropriately?
Any suggestions would be helpful. My suspicion is each tile is somehow
generating a new request? If this is true is there a way to avoid this? 

-Matt

Here is the output : 

14:07:25,737 INFO  [STDOUT] Called init on htmltool
14:07:25,737 INFO  [STDOUT] Called init on htmltool
14:07:25,785 INFO  [STDOUT] Called init on htmltool
14:07:25,786 INFO  [STDOUT] Called init on htmltool
14:07:25,801 INFO  [STDOUT] Called init on htmltool
14:07:25,802 INFO  [STDOUT] Called init on htmltool
14:07:26,053 INFO  [STDOUT] Called init on htmltool
14:07:26,054 INFO  [STDOUT] Called init on htmltool
14:07:26,063 INFO  [STDOUT] Called init on htmltool
14:07:26,064 INFO  [STDOUT] Called init on htmltool
14:07:26,069 INFO  [STDOUT] Called init on htmltool
14:07:26,070 INFO  [STDOUT] Called init on htmltool
14:07:26,075 INFO  [STDOUT] Called init on htmltool
14:07:26,075 INFO  [STDOUT] Called init on htmltool
14:07:26,081 INFO  [STDOUT] Called init on htmltool
14:07:26,082 INFO  [STDOUT] Called init on htmltool
14:07:26,087 INFO  [STDOUT] Called init on htmltool
14:07:26,088 INFO  [STDOUT] Called init on htmltool
14:07:26,090 INFO  [STDOUT] Called init on htmltool
14:07:26,093 INFO  [STDOUT] Called init on htmltool
14:07:26,822 INFO  [STDOUT] Called init on htmltool
14:07:26,822 INFO  [STDOUT] Called init on htmltool


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to