J
JavaEnquirer
I have a servlet which dynamically generates a jnlp file. I'll simplify
my problem for the sake of brevity. A 3rd party system invokes a URL
http://localhost:8080/blah/blah.jnlp - this is "pointing" at a servlet
which sends back a dynamically generated jnlp and launches a java
client. This works great. However, there are some occasions when I do
not want to send a jnlp file back, instead, some server side processing
occurs. Again, this works fine except that I get a blank web browser
window appearing which is not welcome ( or JWS attempts to launch
nothing and fails ). Note: I cannot build logic into the 3rd party app.
So, how do I configure my servlet to "send nothing back" and ensure no
blank web page is displayed on the client machine, or no attempt to
launch JWS is made? What content type do I need to set and should I
push anything down the response stream?
Mank thanks in advance.
my problem for the sake of brevity. A 3rd party system invokes a URL
http://localhost:8080/blah/blah.jnlp - this is "pointing" at a servlet
which sends back a dynamically generated jnlp and launches a java
client. This works great. However, there are some occasions when I do
not want to send a jnlp file back, instead, some server side processing
occurs. Again, this works fine except that I get a blank web browser
window appearing which is not welcome ( or JWS attempts to launch
nothing and fails ). Note: I cannot build logic into the 3rd party app.
So, how do I configure my servlet to "send nothing back" and ensure no
blank web page is displayed on the client machine, or no attempt to
launch JWS is made? What content type do I need to set and should I
push anything down the response stream?
Mank thanks in advance.