From: carmelo on
Hi everybody,
I have a java application that I should start using Java Web Start
from an IIS 7 Server. I added the mime type
"application/x-java-jnlp-file" but the browser opens the file as text
without loading the application. If you launch the application
directly with the command "javaws http://myip/miofile.jnlp" it
works...


How can I do?
Thank you in advance for your help!
From: Andrew Thompson on
On Apr 16, 3:07 am, carmelo <csa...(a)tiscali.it> wrote:
> ..I have a java application that I should start using Java Web Start
> from an IIS 7 Server. I added the mime type
> "application/x-java-jnlp-file"..

Did you check that the server was serving it up
as that type? <http://pscode.org/mime/>

>..but the browser opens the file as text
> without loading the application. If you launch the application
> directly with the command "javaws http://myip/miofile.jnlp" ..

Is this JNLP private?

--
Andrew T.
pscode.org
From: carmelo on
Thank you for your reply Andrew.

> Did you check that the server was serving it up
> as that type?  <http://pscode.org/mime/>

I checked it using these parameters:

Content URL: http://myip/miofile.jnlp
Mime-Type(s): application/x-java-jnlp-file

The resulting answer was:

Served type
'application/x-java-jnlp-file'
matches one of the expected types.

> Is this JNLP private?

What do you mean? That file is publicly readable.
From: Andrew Thompson on
On Apr 16, 5:08 pm, carmelo <csa...(a)tiscali.it> wrote:
> Thank you for your reply Andrew.
>
> > Did you check that the server was serving it up
> > as that type?
....
> The resulting answer was:
>
> Served type
> 'application/x-java-jnlp-file'
> matches one of the expected types.

OK

> > Is this JNLP private?
>
> What do you mean? That file is publicly readable.

The URLs you have supplied are not the real
URL to the JNLP. What is the real URL?

--
Andrew T.
pscode.org
From: markspace on
Andrew Thompson wrote:

> The URLs you have supplied are not the real
> URL to the JNLP. What is the real URL?

I have a sneaking suspicion it's http://127.0.0.1/miofile.jnlp, but I
guess we'll see what the OP says.