Hi,
I used the following :
<html:form action="upload.do" enctype="multipart/form-data">
<html:text property="aText" />
<html:file property="aFile" />
<html:submit />
</html:form>
to submit some text and upload file ,but it seems that forms with
enctype="multipart/form-data" doesn't pass through servlet filters ( e.g.
setCharacterEncodingFilter to set the correct request character encoding),
which leads to wrong characters displayed, also ,as stated by struts upload
example ,it is IMPORTANT to declare the form's enctype to be
"multipart/form-data" for uploading files, should I separate <html:text>
inputs in a separate JSP form (with a default enctype) to avoid that
situation?
Thanks in advance,
James
_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*.
http://join.msn.com/?page=features/featuredemail
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>