| Author |
[Oracle WebLogic 9] Problem with encoded url
|
Emilio Meadow
Greenhorn
Joined: Jul 20, 2009
Posts: 19
|
|
Hi guys,
I'm working on my local machine with wls 9.2.2 and I have this problem when I call this:
http://localhost:7002/appcontext/ServletName?someParamName=13
everything works, but when I call this:
http://localhost:7002/appcontext/ServletName%3FsomeParamName%3D13
The server is brutally installed on my machine and there's no apache behind.
Any idea?
Tx
e.
|
- we all get it in the end -
|
 |
Deepak Bala
Bartender
Joined: Feb 24, 2006
Posts: 6588
|
|
This URL is fine and does not need encoding - http://localhost:7002/appcontext/ServletName?someParamName=13
Encoding is required only when characters like a space ' ' or '&' '?' need to be sent to the server and should not be confused with the delimiters that help separate path and query params.
What exception / error condition do you face ?
|
SCJP 6 articles - SCJP 5/6 mock exams - SCJP Mocks - SCJP 5 Mock exam (Word document ) - SCJP 5 Mock exam in Java.Inquisition format
|
 |
Emilio Meadow
Greenhorn
Joined: Jul 20, 2009
Posts: 19
|
|
Thanks for the reply.
First of all, I've read again my post and I think I did a very bad job. Sorry.
This url:
http://localhost:7002/appcontext/ServletName?someParamName=13
works just fine, whereas the analogous one with the characters encoded doesn't.
But it should, right? Even more, the exact same war on a server running on linux (my machine is win) works just fine.
Any suggestion?
tx
|
 |
 |
|
|
subject: [Oracle WebLogic 9] Problem with encoded url
|
|
|