Oracle Weblogic Server (MOSC)

MOSC Banner

Weblogic URL decoding

edited Aug 16, 2013 9:24AM in Oracle Weblogic Server (MOSC) 3 commentsAnswered
Hi

I have an issue with decoding of a URL containing Chineese characters.

I am running Weblogic 10.3 on SunOS 5.10

I have a servlet, and in doGet I handle the request.

In doGet when I receives a request the URL dosn't looks right.

The URL send in the browser:

http://servername/servlet_name/%E5%86%B7%E8%97%8F%E8%B4%A7%E7%89%A9/%E5%85%B3%E4%BA%8E%E5%86%B7%E8%97%8F%E8%B4%A7%E7%89%A9/%E6%A6%82%E8%A7%88

Request sent using CURL:

curl "http://servername/servlet_name/冷藏货物/关于冷藏货物/概览" -H "Accept-Encoding: gzip,deflate,sdch" -H "Content-Type: text/html;charset=UTF-8" -H "Host: servername" -H "Accept-Language: da-DK,da;q=0.8,en-US;q=0.6,en;q=0.4" -H "Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center