It isn't unreasonable to think that a taglib will impose a performance
impact over straight scriplets because there is extra work involved in
executing the tag... the container needs to instantiate the tag class
(although maybe there is a pool, I don't know), then populate the
properties, then excute, etc.

Will this impact be significant?  Assuming the container is fairly
efficient, and assuming the code in the tag class isn't written stupidly,
I wouldn't think it would be something to worry about.  It is similar to
calling a method vs. inlining the code... inlining will, compiler and
runtime optimizations aside, result in faster execution.  But it is in
most cases not a significant difference.

The benefits you gain by using the tags outweighs any peformance impact,
most would agree.

-- 
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com
AIM: fzammetti
Yahoo: fzammetti
MSN: [EMAIL PROTECTED]

On Thu, January 5, 2006 4:54 am, Raghuveer said:
>
> Does there will be any performance issue if i use struts tags like logic
> tags,  when comapred to
> "if " condion in scriplet in JSP.
>
> Does there will be any impact on request/responce time of use only struts
> tags in JSP's.
>
>
>
>
>
>
>
> ---------------------------------------------------------------------
> 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]

Reply via email to