• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

[Oracle WebLogic 9] Problem with encoded url

 
Emilio Meadow
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Deepak Bala
Bartender
Posts: 6663
5
Firefox Browser Linux MyEclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ?
 
Emilio Meadow
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic