struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karr, David" <David.K...@wamu.net>
Subject RE: Suppresing the generation of blank lines while using logic tags - Ver 1.0.2
Date Wed, 25 Feb 2004 14:19:49 GMT
It's the newline between "%>" and "<%" that is causing you problems (not
to mention the design of your page, but that's a different matter).  If
you do things like:

    ... <%ns:tagname stuff="value"
%><%ns:nothertag morestuff="morevalue"
%><%...

Then you will reduce the newlines in your output.  This gets annoying to
read, however.

-----Original Message-----
From: Pranay Parsatwar [mailto:pranay.parsatwar@mphasis.com] 

We are facing problem of jsp file size exceeding to more than 5 MB at
runtime. The jsp file is full of struts tag with lot many logic:equal,
notEqual in the code. The compiled html when generated takes a lot of
time for browser rendering because of the file size. Looking at the html
source generated it seems the tags generates lots of blank line were
ever used. If the source is modified to remove all the blank lines, the
size reduces to 2 mb.

I would appreciate any help on this issue.

Thanks in advance.

Regards
Pranay Parsatwar 
MphasiS India
2nd Floor,, The Leela Business Park
Andheri Kurla Road,
Andheri (East)
Mumbai - 400 059
Tel: (91)-22-56777777
 <http://www.mphasis.com/> http://www.mphasis.com/

 


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Mime
View raw message