Hi Hassan,

No effect. I think that's because we never reference .tag files
directly. My guess is that when tomcat engine compiles .tag files into
.java files, it ignores my trim-directive. 

Do you know how this directive work? Does it remove white spaces in
every request (like a filter) or during compiling time? 

Thank you!

-----Mensagem original-----
De: Hassan Schroeder [mailto:[EMAIL PROTECTED] 
Enviada em: sexta-feira, 9 de maio de 2008 11:17
Para: Tomcat Users List
Assunto: Re: trim-directive-whitespaces and .tag files

On Fri, May 9, 2008 at 7:04 AM, Milanez, Marcus
<[EMAIL PROTECTED]> wrote:

> I'm successfully using trim-directive-whitespaces in my web.xml file, 
> clearing unecessary white spaces from my pages. The only problem is 
> that .tag files content is not affected by this directive.

What happened when you added this:

<jsp-config>
     <jsp-property-group>
       <url-pattern>*.tag</url-pattern>
       <trim-directive-whitespaces>true</trim-directive-whitespaces>
     </jsp-property-group>
   </jsp-config>

Did it produce an error, or just no effect?

--
Hassan Schroeder ------------------------ [EMAIL PROTECTED]

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe,
e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to