- Original Message -
From: Jerry Jalenak [EMAIL PROTECTED]
Date: Friday, February 20, 2004 4:56 pm
Subject: RE: Extra Lines in Compiled JSP
Thanks to everyone and for their comments.
What I was seeing were several blank lines at the top of my
rendered page -
lines that I could not account
: Adam Hardy [mailto:[EMAIL PROTECTED]
Sent: Friday, February 20, 2004 3:42 PM
To: Struts Users Mailing List
Subject: Re: Extra Lines in Compiled JSP
Perhaps it was in the taglibs-user mailing list where I dreamt it?
Maybe I'm searching for the wrong key-words - I've looked for 'white
space
Try this:
%@ taglib uri=http://jakarta.apache.org/struts/tags-bean; prefix=bean
%%@ taglib uri=/display prefix=display
%%@ taglib uri=http://jakarta.apache.org/struts/tags-html; prefix=html
%%@ taglib uri=http://jakarta.apache.org/struts/tags-nested;
prefix=nested
%%@ taglib
I had this problem that produced me a CSV file with blank lines at top.
I solved it by removing al enter in the file, I mean, JSP tags
(including %@ tags, etc) are all concatenated without break lines.
You will get the ugliest JSP page you have ever seen from developer
perspective, but this solved
Maybe I just dreamt this but I thought I remember one of the tomcat
committers saying here that they had added a config option to remove
these blank lines around JSP taglib tags, and set the configuration
option by default to false/off, because it violates the JSP spec.
I just quickly
Jalenak [mailto:[EMAIL PROTECTED]
Sent: Friday, February 20, 2004 11:34 AM
To: 'Struts Users Mailing List'
Subject: RE: Extra Lines in Compiled JSP
Thanks for the reply. I strung out the taglib defn's and reduced the number
of out.writes from seven to one. It's better, but still not perfect
Users Mailing List
Subject: Re: Extra Lines in Compiled JSP
Maybe I just dreamt this but I thought I remember one of the tomcat
committers saying here that they had added a config option to remove
these blank lines around JSP taglib tags, and set the configuration
option by default to false
Why care about how generated code looks? This approach makes the code you
maintain harder to read.
On Friday 20 February 2004 14:01, Gopalakrishnan, Jayesh wrote:
I must have had the same dream !!
I remember that tomcat config thing..and not too
long ago. I am surprised you couldn't find
.
We did this for our export to exel feature...
cheers
-jayash
-Original Message-
From: Thad Humphries [mailto:[EMAIL PROTECTED]
Sent: Friday, February 20, 2004 11:05 AM
To: Struts Users Mailing List
Subject: Re: Extra Lines in Compiled JSP
Why care about how generated code looks
: Extra Lines in Compiled JSP
Why care about how generated code looks? This approach makes the code you
maintain harder to read.
On Friday 20 February 2004 14:01, Gopalakrishnan, Jayesh wrote:
I must have had the same dream !!
I remember that tomcat config thing..and not too
long ago. I am
Good afternoon...
I had a similar issue generating XML files. I realise white-space shouldn't
be an issue in XML but it was for our browser. Perhaps you are having a
similar issue in your case, so this might help.
When I followed convention and put the %@ ... % directives first, and then
my ?
To: Struts Users Mailing List
Subject: Re: Extra Lines in Compiled JSP
Perhaps it was in the taglibs-user mailing list where I dreamt it?
Maybe I'm searching for the wrong key-words - I've looked for 'white
space' and 'blank lines' but not found anything. Perhaps it was even on
this list?
Check
'; Struts Users Mailing List
Subject: RE: Extra Lines in Compiled JSP
Why do you have this problem with extra lines in your html
generated by the
%@ % section of your jsp and I do not - I use JBOSS and
WebLogic both --
never saw this problem?
- Jim
-Original Message-
From
13 matches
Mail list logo