Re: trimDirectiveWhitespaces not working
Hi, Sorry for the previous incomplete post. According to JSP Spec v2.1 (page 122/123), and also page 82-84 # The trim-directive-whitespaces element is a subelement of jsp-property-group (See SectionJSP.3.3.1, "JSP Property Groups"). It has no subelements. Its valid values aretrue andfalse, and it is disabled (false) by default. Enabling the trimming of whitespaces can be done by setting the trim-directive-whitespaces element totrue in the JSP configuration. Page authors can override the default value through the trimDirective- Whitespaces attribute of the page directive (see SectionJSP.1.10, "Directives"). # <%@ page trimDirectiveWhitespaces="true" %> this should work right? -- Regards, Peik Feng - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: trimDirectiveWhitespaces not working
Hi, According to JSP Spec v2.1 (page 122/123): JSP.3.3.8 Removing whitespaces from template text Whitespaces in template text of a JSP page are preserved by default (See SectionJSP.1.3.8, "White Space"). Unfortunately, this means that unwanted extraneous whitespaces often make it into the response output. For example, the following code snippet (where - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
trimDirectiveWhitespaces not working
Hi, I have installed Tomcat 6.0.10 with JRE 1.6.0. I tried to set trimDirectiveWhitespaces in page directive but it doesn't take effect. <%@ page trimDirectiveWhitespaces="true" %> I also tried to set in jsp-property-group in web.xml also no effect. true Any help is appreciated. Thank you. -- Regards, Peik Feng - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]