Commit r40

Anon32

Repository https://hdiv.svn.sourceforge.net/svnroot/hdiv/trunk/ /trunk
by gvicente on 2008-02-04 18:33 (about 1 year ago)

HDIV for Struts 1.x
-------------------
we must define in the "protectedExtensions" property of hdiv-config.xml file the url extensions we want to protect. We can use regular expressions to define them.

Suppose that our Struts servlet configuration is as this:

<servlet>
<servlet-name>action</servlet-name>
<servlet-class>org.apache.struts.action.ActionServlet</servlet-class>

</servlet>

<servlet-mapping>
<servlet-name>action</servlet-name>
<url-pattern>*.do</url-pattern>
</servlet-mapping>

We should configure the protectedExtensions property of the hdiv-config.xml file with the following value:

<property name="protectedExtensions"
<list>
<value>.*.do</value>
</list>
</property>



Language Totals

  Language Code Added Code Removed Comments Added Comments Removed Blanks Added Blanks Removed
  XML 2188 1955 401 402 44 0
  Java 161 25 40 0 60 0

Files Changed

[37 total ]
File Language Code Added Code Removed Comments Added Comments Removed Blanks Added Blanks Removed
/hdiv-core/pom.xml
  XML 16 6 1 1 2 0
/hdiv-jstl-taglibs-1.1.0/pom.xml
  XML 14 23 1 1 1 0
/hdiv-jstl-taglibs-1.1.2/pom.xml
  XML 62 78 17 17 1 0
/hdiv-spring-mvc-2.0/pom.xml
  XML 40 31 18 18 1 0
/hdiv-spring-mvc-2.5/pom.xml
  XML 39 30 18 18 1 0
/hdiv-struts-1.1/pom.xml
  XML 183 159 22 22 2 0
/hdiv-struts-1.1/src/main/java/org/hdiv/taglib/util/RequestUtilsHDIV.java
  Java 33 5 8 0 12 0
/hdiv-struts-1.2.4/pom.xml
  XML 172 163 22 22 2 0
/hdiv-struts-1.2.4/src/main/java/org/hdiv/taglib/util/RequestUtilsHDIV.java
  Java 32 5 8 0 12 0
/hdiv-struts-1.2.7/pom.xml
  XML 163 154 22 22 2 0