Just upload the file as normal binary file.
When you read this file at the server side, make sure to
read it with correct encoding of unicode type
(like UTF8,UTF16, etc)
You probably need to allow the user to enter
the upload file encoding type, and pass along
this info to server
-Dan
- Orig
Sorry, you was right.
I lift filter declaration above all and have good depoyment.
And now I have unicode and file upload.
Thank you very much.
> >Hello,
> >I try use filter, but always get this error:
> >09:38:52,076 ERROR [Digester] Parse Error at line 65 column -1: Element
> >
> >
>
> What i
Dzidorius Martinaitis (kafka) írta:
Hello,
I try use filter, but always get this error:
09:38:52,076 ERROR [Digester] Parse Error at line 65 column -1: Element
What is on 65th line of your web.xml?
Tib
-
To unsubscribe, e-m
part of web.xml:
http://java.sun.com/dtd/web-app_2_3.dtd";>
Set Character Encoding
filters.SetCharacterEncodingFilter
encoding
UTF-8
Set Character Encoding
action
skip
> >Yes, I know. And my web.xml have exactly this declaration.
> >But problem is same.
> >
> >
>
Dzidorius Martinaitis (kafka) írta:
Yes, I know. And my web.xml have exactly this declaration.
But problem is same.
And the order of tags are preserved according to this DTD?
Some containers require this as well others not.
Tib
-
Yes, I know. And my web.xml have exactly this declaration.
But problem is same.
> Chck your dtd. It should be
> 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd";>
>
> The web-app_2_2 does not allow filters.
>
> Hth,
> Tib
>
>
>
>
Dzidorius Martinaitis (kafka) írta:
Hello,
I try use filter, but always get this error:
09:38:52,076 ERROR [Digester] Parse Error at line 65 column -1: Element
"web-app
" does not allow "filter" here.
org.xml.sax.SAXParseException: Element "web-app" does not allow "filter"
here.
at org.apac
7 matches
Mail list logo