Web Start/Applet URLEncode problem

F

FiSHer

Consider the following situation. There is an application that can be
run as WebStart application and as Applet. There is a method which gets
some information from asp page from the internet. It passes some
parameters to asp page. Parameters have format similar to path:
"/dir1/dir2/file.gif" for example. The problem is that when it is run
as WebStart application, the parameters are encoded correctly (they are
once encoded then decoded on the server side), but when it is run as an
applet the parameters are somehow encoded twice and the server is
unable to parse the fully decoded string.

If someone suggests some solution to this problem or advice it will be
great!
 
A

Andrew Thompson

Consider the following situation. There is an application that can be
run as WebStart application and as Applet. There is a method which gets
some information from asp page

[1] URL?
...from the internet. It passes some
parameters to asp page. Parameters have format similar to path:
"/dir1/dir2/file.gif" for example. The problem is that when it is run
as WebStart application, the parameters are encoded correctly (they are
once encoded then decoded on the server side), but when it is run as an
applet the parameters are somehow encoded twice and the server is
unable to parse the fully decoded string.

If someone suggests some solution to this problem or advice it will be
great!

One suggestion is 'supply [1]'. And that would be an URL for
the applet, as well as the URL of the JNLP file. If they are
private/proprietary, supply a small example on a separate
web page that is not (private or otherwise proprietary).

NOTE: Follow-Ups set to comp.lang.java.programmer *only*.
I recommend those reading this on c.l.j.help follow it over
there if interested, but then *reading* c.l.j.programmer is
probably a good idea for all those contributing to c.l.j.help.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,226
Members
46,815
Latest member
treekmostly22

Latest Threads

Top