Exception:
Org. Apache. commons. beanutils. conversionexception: cannot assign value of Type 'java. Lang. string' to property 'file' of Type 'org. Apache. Struts. Upload. formfile'
At org. Apache. Struts. Action. dynaactionform. Set (dynaactionform. Java: 423)
At org. Apache. commons. beanutils. propertyutils. setsimpleproperty (propertyutils. Java: 1769)
At org. Apache. commons. beanutils. propertyutils. setnestedproperty (propertyutils. Java: 1684)
At org. Apache. commons. beanutils. propertyutils. setproperty (propertyutils. Java: 1713)
At org. Apache. commons. beanutils. beanutils. setproperty (beanutils. Java: 1019)
At org. Apache. commons. beanutils. beanutils. populate (beanutils. Java: 808)
At org. Apache. Struts. util. requestutils. populate (requestutils. Java: 1252)
At org. Apache. Struts. Action. requestprocessor. processpopulate (requestprocessor. Java: 821)
At org. Apache. Struts. Action. requestprocessor. Process (requestprocessor. Java: 254)
At org. Apache. Struts. Action. actionservlet. Process (actionservlet. Java: 1481)
At org. Apache. Struts. Action. actionservlet. dopost (actionservlet. Java: 525)
At javax. servlet. http. httpservlet. Service (httpservlet. Java: 760)
At javax. servlet. http. httpservlet. Service (httpservlet. Java: 853)
At weblogic. servlet. Internal. servletstubimpl $ servletinvocationaction. Run (servletstubimpl. Java: 1006)
At weblogic. servlet. Internal. servletstubimpl. invokeservlet (servletstubimpl. Java: 419)
At weblogic. servlet. Internal. servletstubimpl. invokeservlet (servletstubimpl. Java: 315)
At weblogic. servlet. Internal. webappservletcontext $ servletinvocationaction. Run (webappservletcontext. Java: 6718)
At weblogic. Security. ACL. Internal. authenticatedsubject. DOAs (authenticatedsubject. Java: 321)
At weblogic. Security. Service. securitymanager. RunAs (securitymanager. Java: 121)
At weblogic. servlet. Internal. webappservletcontext. invokeservlet (webappservletcontext. Java: 3764)
At weblogic.servlet.internal.servletrequestimpl.exe cute (servletrequestimpl. Java: 2644)
At weblogic.kernel.executethread.exe cute (executethread. Java: 219)
At weblogic. kernel. executethread. Run (executethread. Java: 178)
>
Solution:
Add "enctype = 'multipart/form-data'" to your action form .,