struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rajesh A (JIRA)" <>
Subject [jira] Created: (STR-3198) Struts 1.3.10/11 File Upload Blocker with indexed property set True.
Date Wed, 03 Feb 2010 17:11:28 GMT
Struts 1.3.10/11 File Upload Blocker with indexed property set True.

                 Key: STR-3198
             Project: Struts 1
          Issue Type: Bug
          Components: Core
    Affects Versions: 1.3.10
         Environment: JDK 1.6; Struts core 1.3.11; Weblogic 10.3; oracle 9i
            Reporter: Rajesh A
            Priority: Blocker

Our project is to migrate from JDK 1.4 to JDK 1.6 and also we migrated from struts 1.2 to

While migrating we found file upload code blocking our application. This is happening when
we use "indexed" property set to true in htm:file tag. But, we need to use index property
in order to upload file for some particular sequences.

PFB sample code:
<htm:file name="MyForm" property="file" indexed="true" />

Steps to replicate:
1. Have page having a file upload code as shown above. Let us
2. Go to
3. Don't do anything just try to navigate some new page say Now system will show
the below error on screen:

Error 500--Internal Server Error 
java.lang.NoSuchMethodException: Unknown property 'MyForm' on bean class 'class org.apache.struts.validator.DynaValidatorForm'
	at org.apache.commons.beanutils.PropertyUtilsBean.getIndexedProperty(
	at org.apache.commons.beanutils.PropertyUtilsBean.getIndexedProperty(
	at org.apache.commons.beanutils.PropertyUtilsBean.getNestedProperty(
	at org.apache.commons.beanutils.PropertyUtilsBean.getProperty(
	at org.apache.commons.beanutils.PropertyUtilsBean.getPropertyType(
	at org.apache.commons.beanutils.PropertyUtils.getPropertyType(
	at org.apache.struts.util.RequestUtils.rationalizeMultipleFileProperty(
	at org.apache.struts.util.RequestUtils.populate(
	at org.apache.struts.action.RequestProcessor.processPopulate(
	at org.apache.struts.action.RequestProcessor.process(
	at org.apache.struts.action.ActionServlet.process(
	at org.apache.struts.action.ActionServlet.doPost(
	at javax.servlet.http.HttpServlet.service(
	at javax.servlet.http.HttpServlet.service(
	at weblogic.servlet.internal.StubSecurityHelper$
	at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(
	at weblogic.servlet.internal.ServletStubImpl.execute(
	at weblogic.servlet.internal.ServletStubImpl.execute(
	at weblogic.servlet.internal.WebAppServletContext$
	at weblogic.servlet.internal.WebAppServletContext.securedExecute(
	at weblogic.servlet.internal.WebAppServletContext.execute(

Could you please resolve this as soon as possible. Because we need it within 3days else we
will be put into serious trouble. 

FYI: We found the same issue in unreleased version of struts 1.3.11 too. But to resolve BUG
ID: STR-3173 we are right now using struts 1.3.11


This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message