e that was really important
thanks again,
regards,
Ahmed
--
View this message in context:
http://www.nabble.com/Struts-and-arabic-encoding-tf4251427.html#a12133955
Sent from the Struts - User mailing list archive at Nabble.com.
--
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Ahmed,
Ahmed Atif wrote:
> i'm using the post method but i will try to use GET if this will solve the
> problem
No, POST is much better, since the parameters will always be encoded
using the request body's encoding, which at least has an HTTP header
You seem to be trying all the right things, my advice is to try to
isolate where things are going wrong.. for example
1) Check what encoding your browser thinks the page is in ( usually
somewhere under the view menu )
2) Check whether you are managing to read the request parameter in the
corre
lly where is the prob. I
>> tried
>> every thing.
>> any one have another idea,
>> some help plz,
>> thanks
>> regards,
>> Ahmed
>>
>
>
> -
> To unsubscribe, e-mail: [EMAI
Just a question. I saw your filter again and there is this
request.getAttribute("cate");
This gets for you only an attribut which is stored in the request scope (it
doesnt have anything to do
with the html forms).
If you want get the your form text field you should use
request.getParameter("c
the HTML:FORM attributes like :
but as usual nothing changed i don't know really where is the prob. I tried
every thing.
any one have another idea,
some help plz,
thanks
regards,
Ahmed
--
View this message in context:
http://www.nabble.com/Struts-and-arabic-encoding-tf4251427.html#a12118734
Se
Hi,
have you tryed this too at the start of jsp?? It should set the content
type in the header of the response (not only in element of the
html page).
<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="windows-UTF-8"%>
Martin
Christopher Schultz wrote:
-
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Ahmed,
Ahmed Atif wrote:
> the data read from the text field still garbled i'm saving it to the
> DB instantly at a UTF-8 encoding type column but the problem remains
> does any one know where the prblem might be.
Is this with a GET or POST request?
egards,
Ahmed
--
View this message in context:
http://www.nabble.com/Struts-and-arabic-encoding-tf4251427.html#a12116086
Sent from the Struts - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL PROTECT
Hi,
before you gain the parameters in a servlet you should set their
encoding (by default they are latin1).
The best way is to use a filter like this:
public class ArabicEncodingFilter implements Filter {
public void init(FilterConfig filterConfig) throws ServletException {
}
public
t;[EMAIL PROTECTED] pageEncoding="windows-1256"%>
but nothing happened
please if any one know how to solve this prob.
thanks
regards,
Ahmed
--
View this message in context:
http://www.nabble.com/Struts-and-arabic-encoding-tf4251427.html#a12100026
Sent from the Struts - User mai
11 matches
Mail list logo