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
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.