【问题标题】:tomcat trim white spacestomcat 修剪空白
【发布时间】:2017-03-16 06:58:37
【问题描述】:

我正在使用 tomcat 8,并且必须在 web-app 构造中的应用程序的 web.xml 中遵循指令,但没有修剪空格。任何想法有什么问题或如何调试它?

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

【问题讨论】:

    标签: tomcat trim removing-whitespace


    【解决方案1】:

    因此,本机 trim-directive-whitespaces 指令似乎不起作用,但这个 lib 可以。它还删除了 HTML cmets。

    http://www.servletsuite.com/servlets/trimflt.htm

    【讨论】:

      猜你喜欢
      • 2018-08-26
      • 1970-01-01
      • 2010-11-14
      • 2011-05-07
      • 1970-01-01
      • 1970-01-01
      • 2012-10-11
      • 2011-05-01
      • 2014-03-06
      相关资源
      最近更新 更多