Hi WebWork Guys,

Seems
"com.opensymphony.webwork.dispatcher.ServletDispatcher"
class is caching the value of
"webwork.multipart.saveDir" property (at init() of
servlet) and it causes problems when I want to change
this prop's value after initialization (at runtime).

Attached is the changes I've made on this class. It
checks whether the prop's value everytime it's going
to pass multipart-save-directory to
"MultiPartRequestWrapper" and if it has been changed,
tries to refresh the cache.

Will be great if someone reviews this and if possible
applies to CVS.

Thanks a million,
Armond

Attachment: ServletDispatcher.java
Description: ServletDispatcher.java

Reply via email to