General discussion

Locked

jnlp content displayed in browser

By VickyDicky ·
Hi,
I have an J2EE based application which runs on web logic server and its web server is apache.
When I kept my jnlp and related files in web logic server it is running the application properly. Later I found that it is better to put in web server(i.e. Apache), then started creating problem for me. When I changed this to web server, out of two jnlp link one link is running jnlp application on the client and other link instead of running jnlp application, shows the content of the jnlp in web browser. This was scenario on machine(Client) and on other machine (Client) with same server, both link were displaying the content in the browser instead of running it. I also set mime type for my web server for the jnlp. I also check the mime type on the client for the jnlp type. I also tested with two browser one is IE 6.0 and other is Netscpae 6.1, but couldn't run the application.
When I tried it running from the command line it works perfectly.
So is it the problem with client or server?
If client then i guess it should not work when I kept my application on web logic.
If it is problem with server then it should not run through the command line.

Any help will be appreciated.

This conversation is currently closed to new comments.

1 total post (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

by Murpur In reply to jnlp content displayed in ...

You're using Apache I take it? You should just need to add these two lines to your httpd.conf file and reload the server and it should display fine, it's just not handling the mime types properly I'd say.

AddType application/x-java-jnlp-file .jnlp
AddType application/x-java-archive-diff .jardiff

Mainly for neatness add them under the existing AddType string(s).

If it's more than this I'm not certain I can personally help you.

Back to Web Development Forum
1 total post (Page 1 of 1)  

Related Discussions

Related Forums