struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ahmed Atif <hamada...@hotmail.com>
Subject Re: Struts and arabic encoding
Date Mon, 13 Aug 2007 01:20:11 GMT

no, no, it was just a silly trial to test from a hopless programmer :-( 
currently i'm still searching and i think i need to install a new windows it
may fix the prob. who knows.
thanks


stoupa91devel wrote:
> 
> 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("cate");
> 
> 
> Furthermore try to look to the documentation for "getParameter()" method.
> I dont know what you exactly do in your app,
> but there could be a problem with request.getInputStream() or
> request.getReader() as described in the doc.
> 
> Martin
> 
> 
> 
> Ahmed Atif wrote:
>> hi,
>> i'm using the post method but i will try to use GET if this will solve
>> the
>> problem
>> and also i have tried to the 
>> <%@ page language="java" contentType="text/html; charset=UTF-8" 
>> pageEncoding="windows-UTF-8"%> 
>>
>> but nothing changed 
>> i tried to set the HTML:FORM attributes like :
>>
>> <html:form acceptCharset="UTF-8" enctype="text/plain;charset=UTF-8"
>> action="/addCategory" method="post" >
>>
>> 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 
>>   
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Struts-and-arabic-encoding-tf4251427.html#a12119715
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message