Hi get a problem with the caption parameter of this example, it is sent and 
found by the MultiPartRequest Handler, but it is not set by the 
ParametersInterceptor; look at the stacktrace:

18:11:49,119 DEBUG [org.apache.struts2.dispatcher.multipart.MultiPartRequest] 
Found item upload
18:11:49,119 DEBUG [org.apache.struts2.dispatcher.multipart.MultiPartRequest] 
Item is a file upload
18:11:49,119 DEBUG [org.apache.struts2.dispatcher.multipart.MultiPartRequest] 
Found item caption
18:11:49,119 DEBUG [org.apache.struts2.dispatcher.multipart.MultiPartRequest] 
Item is a normal form field
18:11:49,120 DEBUG [org.apache.struts2.portlet.dispatcher.Jsr168Dispatcher] 
Creating action proxy for name = fileUpload, namespace = /view
18:11:49,120 DEBUG [com.opensymphony.xwork2.DefaultActionProxy] Creating an 
DefaultActionProxy for namespace /view and action name fileUpload
18:11:49,121 DEBUG [com.opensymphony.xwork2.interceptor.I18nInterceptor] 
intercept '/view/fileUpload' { 
18:11:49,121 DEBUG [com.opensymphony.xwork2.interceptor.I18nInterceptor] 
requested_locale=null
18:11:49,121 DEBUG [com.opensymphony.xwork2.interceptor.I18nInterceptor] 
before Locale=de_DE
18:11:49,122 DEBUG 
[com.opensymphony.xwork2.interceptor.StaticParametersInterceptor] Setting 
static parameters {}
18:11:49,122 DEBUG [com.opensymphony.xwork2.interceptor.ParametersInterceptor] 
Setting params uploadFileName => [ a.txt ] uploadContentType => [ 
text/plain ] templateDir => [ template ] theme => [ xhtml ] up
load => 
[ 
/home/krah/Development/seu/pluto-1.1.5/work/Catalina/localhost/struts2-portlet-0.0.1-SNAPSHOT/upload__6f236e88_11b93a379fc__8000_00000000.tmp
 ] 
struts.portlet.mode => [ view ] struts.portlet.action
 => [ /view/fileUpload ] 

Does look like a bug, is it?
If it is one, is this one already known and solved or some workarounds 
available?
Or did i miss something?

-- 
Bitte senden Sie mir keine Word- oder PowerPoint-Anhänge.
Siehe http://www.gnu.org/philosophy/no-word-attachments.de.html

Really, I'm not out to destroy Microsoft. That will just be a 
completely unintentional side effect."
        -- Linus Torvalds

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to