You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Don Brown (JIRA)" <ji...@apache.org> on 2008/06/13 03:30:05 UTC
[jira] Updated: (WW-2546) Spring PropertiesFactoryBean lead to
input validation error
[ https://issues.apache.org/struts/browse/WW-2546?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Don Brown updated WW-2546:
--------------------------
Fix Version/s: 2.1.3
> Spring PropertiesFactoryBean lead to input validation error
> -----------------------------------------------------------
>
> Key: WW-2546
> URL: https://issues.apache.org/struts/browse/WW-2546
> Project: Struts 2
> Issue Type: Bug
> Components: Plugin - Spring
> Environment: struts 2.0.8 , xwork 2.0.3 , spring 2.0.1
> Reporter: MaxGao
> Fix For: 2.1.3
>
>
> when combine sturts2 with spring:
> <constant name="struts.objectFactory" value="spring" />
> and in spring config has some PropertiesFactoryBean define:
> <bean id="SomeProperties" class="org.springframework.beans.factory.config.PropertiesFactoryBean">
> <property name="location">
> <value>/WEB-INF/classes/some.properties</value>
> </property>
> </bean>
> then all struts actions will need field validation, for example
> some.properties:
> abc=abcde
> this time every struts action will go to validate the 'abcde' field ,and return a input result...
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.