Re: trimDirectiveWhitespaces not working

2007-03-06 Thread Peik Feng
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

Re: trimDirectiveWhitespaces not working

2007-03-06 Thread Peik Feng
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 respo

Re: trimDirectiveWhitespaces not working

2007-03-06 Thread Rémy Maucherat
On 3/6/07, Tim Funk <[EMAIL PROTECTED]> wrote: D'oh! I had an older copy of the spec without those notes. It's a very minor issue anyway (trimSpaces doesn't do all that much). Rémy - To start a new topic, e-mail: users@tomcat

Re: trimDirectiveWhitespaces not working

2007-03-06 Thread Tim Funk
D'oh! I had an older copy of the spec without those notes. -Tim Rémy Maucherat wrote: On 3/6/07, Tim Funk <[EMAIL PROTECTED]> wrote: trimDirectiveWhitespaces is only applicable at servlet configuration time. See $TOMCAT_HOME/conf/web.xml There's a new directive and new jsp property which is

Re: trimDirectiveWhitespaces not working

2007-03-06 Thread Rémy Maucherat
On 3/6/07, Tim Funk <[EMAIL PROTECTED]> wrote: trimDirectiveWhitespaces is only applicable at servlet configuration time. See $TOMCAT_HOME/conf/web.xml There's a new directive and new jsp property which is supposed to do the same as our trimSpaces (of course, it's far more complicated). While i

Re: trimDirectiveWhitespaces not working

2007-03-06 Thread Tim Funk
trimDirectiveWhitespaces is only applicable at servlet configuration time. See $TOMCAT_HOME/conf/web.xml -Tim Peik Feng wrote: 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 trimDirectiveWhi

trimDirectiveWhitespaces not working

2007-03-05 Thread Peik Feng
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.