Re: [Resin-interest] How to remove new line preamble in JSP

2008-06-05 Thread Bill Au
Resin does support the trimDirectiveWhitespaces configuration parameter which is defined in the JSP 2.1 specifications. http://java.sun.com/developer/technicalArticles/J2EE/jsp_21/ Bill On Wed, Jun 4, 2008 at 6:05 AM, bisoa [EMAIL PROTECTED] wrote: It seems like I have to code without white

[Resin-interest] How to remove new line preamble in JSP

2008-06-04 Thread bisoa
Hello, I am using JSPs to generate all sort of special MIME types such PDF, PNG, GIF, etc. My JSPs work on Tomcat. When I tried on Resin, I see lots of new line characters in front! How can I remove them? Regards. -- View this message in context:

Re: [Resin-interest] How to remove new line preamble in JSP

2008-06-04 Thread bisoa
It seems like I have to code without white spaces! Tomcat's way may not be uiversal and may not work on other application servers. -- View this message in context: http://www.nabble.com/How-to-remove-new-line-preamble-in-JSP-tp17640964p17643305.html Sent from the Resin mailing list archive at

Re: [Resin-interest] How to remove new line preamble in JSP

2008-06-04 Thread Steffen Busch
You might want to look at http://www.caucho.com/resin/doc/webapp-tags.xtp#jsp on the attribute trim-directive-whitespace which says: if true, trims whitespace around JSP directives. 2008/6/4 bisoa [EMAIL PROTECTED]: It seems like I have to code without white spaces! Tomcat's way may not be