You should read the javadocs on the taglib to read about 
the large number of features in the tags:

http://struts.apache.org/1.x/apidocs/index.html

As a small example, the many of the html: input tags 

a) check the content and change tags to prevent cross
site scripting (see the "filter" attribute).  That
say people who try to put in URLS or html comments
won't break your site or change it with that attack.

2) can specify beans to use (even beans from another action
or from a different scope).

3) can automatically change the style (such as the color)
of an input field to reflect when an input error occurred.

If you read the taglib docs you'll see many additional 
features for the other taglib types which include:

a) html [ the core input output tags ] 
b) bean [ manipulate beans ]
c) nested [ help easily manipulate nested objects ] 
d) el [ if your container is older and doesn't support in-page 
        expressions like $scopeName.beanName ]
e) logic [ equivalent to c:if and a few other for 
        people with older containers like in note d above ] 

Now, about performance - JSPs are compiled pages so 
the only real performance hit might be the first time
the pages are compiled.  Or perhaps if you use the nested
taglib and make a bad, large, loop iteration.  They have
been around so many years (both struts 1 and struts 2)
that they are probably as optimized as any 'sold' or
'professional purchased product' out there.

Regards,
David


-----Original Message-----
From: Raghuveer [mailto:[EMAIL PROTECTED]
Sent: Saturday, August 19, 2006 9:13 AM
To: user@struts.apache.org
Subject: Struts Tag Libraries



Does there will be any performance issue When using Tag libraries.

What are advantages and disadvantages in using tag  libraries other then
code resusability.


---------------------------------------------------------------------
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