0

Executions.getParameter replaces a char!!

asked 2009-01-31 00:59:55 +0800

judacoor gravatar image judacoor
280 1 3 8

Hello everybody!

I'm having this little problem, when I do

String urlIdInt = Executions.getCurrent().getParameter(urlService.getIntVarName());

With the url:
http://localhost:8080//ext/Ext.zul?Var=4c18YfxsCoO+ylA=

The String obtained which should be 4c18YfxsCoO+ylA= IS ACTUALLY 4c18YfxsCoO ylA=

As you can notice the "+" sign is replaced by a space.....

Can any of you guys help with this one, please?

I presume it's an easy question but I was wondering if there's any trouble with replacing the " " by "+" or something....

Or is there a better way?

Thanks so much for your help

judacoor

delete flag offensive retag edit

2 Replies

Sort by ยป oldest newest

answered 2009-02-02 06:31:00 +0800

jumperchen gravatar image jumperchen
3909 2 8
http://jumperchen.blogspo... ZK Team

Hi,

Browser will automatically encode the URL with some special character (like a space). I think you should not handle it yourself.

/Jumper

link publish delete flag offensive edit

answered 2009-02-03 01:00:15 +0800

judacoor gravatar image judacoor
280 1 3 8

Thanks jumper!

link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2009-01-31 00:59:55 +0800

Seen: 197 times

Last updated: Feb 03 '09

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More