is it windows that has the eol be crlf and unix uses just cr? Somthing like that I think... try looking at your jsp file in a hex editor and see if it is crlf and if so change it to be just cr. Be careful moving file back and forth between windows and unix, there is a unix util called dos2unix and one called unix2dos that is suppose to do this kind of fixing for you. When ftp'ing files around use the type=ascii feature and supposedly it will automatically take care of this conversion for you when trasnfering files between windows and unix.
- Jim -----Original Message----- From: Jerry 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. Seems like the jsp compiler should be smart enough to recognize that it doesn't need to generate anything for these kinds of lines..... Jerry Jalenak Development Manager, Web Publishing LabOne, Inc. 10101 Renner Blvd. Lenexa, KS 66219 (913) 577-1496 [EMAIL PROTECTED] > -----Original Message----- > From: Hubert Rabago [mailto:[EMAIL PROTECTED] > Sent: Friday, February 20, 2004 10:15 AM > To: Struts Users Mailing List > Subject: Re: Extra Lines in Compiled JSP > > > 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 > uri="http://jakarta.apache.org/struts/tags-tiles" prefix="tiles" > %><%@ page language="java" > %><%@ page contentType="text/html; charset=UTF-8" %> > > The idea being you try to contain the \r\n inside the tags > and outside the > template text. > > --- Jerry Jalenak <[EMAIL PROTECTED]> wrote: > > Hi All, > > > > I should know how to fix this, but am at a loss. At the > top of my JSP I > > have the following lines: > > > > > > When I look at the compiled JSP, there are seven blank lines (i.e. > > out.write("\r\n"); ). Is there anyway to have the JSP > compiler (were > > running Tomcat 5.0.18 Stable) NOT generate these lines? I > guess they come > > from the <%.... %> sources lines, but it really screws up > my generated HTML > > code.... > > > > > > Thanks! > > > > Jerry Jalenak > > Development Manager, Web Publishing > > LabOne, Inc. > > 10101 Renner Blvd. > > Lenexa, KS 66219 > > (913) 577-1496 > > > > [EMAIL PROTECTED] > > > > > > This transmission (and any information attached to it) may > be confidential > > and > > is intended solely for the use of the individual or entity > to which it is > > addressed. If you are not the intended recipient or the > person responsible > > for > > delivering the transmission to the intended recipient, be > advised that you > > have received this transmission in error and that any use, > dissemination, > > forwarding, printing, or copying of this information is strictly > > prohibited. > > If you have received this transmission in error, please > immediately notify > > LabOne at the following email address: > [EMAIL PROTECTED] > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > __________________________________ > Do you Yahoo!? > Yahoo! Mail SpamGuard - Read only the mail you want. > http://antispam.yahoo.com/tools > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > This transmission (and any information attached to it) may be confidential and is intended solely for the use of the individual or entity to which it is addressed. If you are not the intended recipient or the person responsible for delivering the transmission to the intended recipient, be advised that you have received this transmission in error and that any use, dissemination, forwarding, printing, or copying of this information is strictly prohibited. If you have received this transmission in error, please immediately notify LabOne at the following email address: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

