You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Sunil Mathew George <su...@wipro.com> on 2002/06/27 05:39:22 UTC
Pros and Cons of using Taglibs in Struts
Hi Guys,
I am new to Struts and want to know if any known problems/issues exist when
we use taglibs. Can you please provide me with any suggestion/links/info on
the pros and cons of using taglibs(I plan to use Tomcat 4.0.4).
Regards,
Sunil.
RE: Pros and Cons of using Taglibs in Struts
Posted by James Mitchell <jm...@telocity.com>.
There was a really good response by Craig on this exact question....
------------------------------------------------------------------
On Tue, 21 May 2002, Erich Meier wrote:
> Date: Tue, 21 May 2002 17:57:20 +0200
> From: Erich Meier <em...@methodpark.de>
> Reply-To: Struts Users Mailing List <st...@jakarta.apache.org>
> To: struts-user@jakarta.apache.org
> Subject: html taglib usage slooow
>
> Hi,
>
> after adding a few more fields to a form (ok, after adding 20 more
fields...),
> my app became veeery slooow. It takes over ten seconds to build and render
> the form on a decently sized server machine.
>
> I am using an old nightly build of struts (20010910) and tomcat 4.0.
>
> Is there any chance to speed this up?
>
Are you counting the time your action takes as well, or is that just
rendering time?
Tomcat 4 users will notice some performance improvements in the latest
nightly builds (and 4.1.x test releases). A lot of work is going on to
improve the quality of the code that is generated for JSP pages,
especially those with lots of custom tags -- which pretty much describes
every Struts app in the world :-).
For other platforms, this is primarily an app server issue -- there is
basically nothing that Struts can do to influence the Java code that is
generated for custom tags, and the Struts tag implementations themselves
are fairly optimized.
> Thanks in advance,
> Erich
>
Craig
----------------------------------------------------------
James Mitchell
Software Engineer\Struts Evangelist
Struts-Atlanta, the "Open Minded Developer Network"
http://struts-atlanta.open-tools.org
> -----Original Message-----
> From: Sunil Mathew George [mailto:sunil.george@wipro.com]
> Sent: Wednesday, June 26, 2002 11:39 PM
> To: Struts User
> Subject: Pros and Cons of using Taglibs in Struts
>
>
> Hi Guys,
> I am new to Struts and want to know if any known
> problems/issues exist when
> we use taglibs. Can you please provide me with any
> suggestion/links/info on
> the pros and cons of using taglibs(I plan to use Tomcat 4.0.4).
>
> Regards,
> Sunil.
>
>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>