I tried your suggestion:

http://localhost:8080//search/main?query=böse   (I make sure that it is
inside some documents)

but the search return null 

here what I saw in the browser link bar after click on submit:

http://localhost:8080//search/main?query=b%F6se

I also changed the browser encode to ISO but I couldn't retrieve any thing

any ideas?





starz10de wrote:
> 
> 
> 
> 
> 
> awarnier wrote:
>> 
>>  
>>  
>> 
>>  
>>>Can you show *exactly* what you are doing in server.xml ?
>>>(paste the relevant portion here, remove comments and passwords)
>> 
>> 
>>  For the server.xml I can't modify any thing there, as I mentioned before
>> there are many other instances working there. If I can modify then I will
>> just kick the 'utf-8" from there, with the default value I have no
>> problem.
>> 
>>>I do not see anything in the above that submits anything with an
"umlaut".
>>>This is a "GET" request, so anything submitted would have to be in the
URL, as a query-string.
>>>I only see "name" here.  The quotes appear wrong too.
>>>There is also a double // after 8080, where it should not be.
>>>Are you sure it is not simply the "action" of your <form> which is wrong
?
>> 
>>>What are the <input> fields being submitted in your <form>, and what
value do you put in 
>>>it/them ?
>> 
>> It works fine and nothing wrong on it, at least I could submit the query
>> to the servlet and get the result back. Here how I send the reques:
>> 
>> <form action="http://localhost:8080//search/main?name method="get"
>> TARGET="Welcome">
>> 
>> <input maxlength=4000 size=40 name="query">   
>> <input type="submit" value="   Search  " style="background-color:#F8F8FF;
>> color: black;">
>> 
>> 
>>>Try the following, directly in your browser's URL bar :
>>>http://localhost:8080/Search/main?name=böse zeichen
>>>(note the ö-umlaut)
>>>What does that do ?
>> 
>> it doesn't work because when I submit the query I see just the main menu
>> jsp in the link bar.
>> 
>> Thanks for your response, is there any problem in what I mentioned?
>> 
>>  
> 
> 

-- 
View this message in context: 
http://old.nabble.com/URIEncoding-tp32989250p32994793.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to