Ask a Question related to ASP.NET General, Design and Development.
-
MJ #1
Asp.net and Contenttype = application/x-java-jnlp-file
I'm trying to stream the contenttype of "application/x-java-jnlp-file"
via asp.net/c#, but the client only sees it as a plain text file.
Example:
Response.Clear();
Response.ClearHeader();
Response.Contenttype = "application/x-java-jnlp-file"
Response.Write(--- jnlp file stuff ---)
Response.End();
All I get is a plain text. I have set the mime type of .jnlp file in
IIS to "application/x-java-jnlp-file". It works if I set the aspx
file's IIS Custom HTTP Header to include "content-type:
application/x-java-jnlp-file", but I would rather do it in code. I
have also successfully started java web start in asp with
Response.contenttype = ... However, in asp.net, it will not work.
asp.net will stream excel, word, but not jnlp type file. Please help.
MJ Guest
-
DB java application
where can i get another application free like the restaurant application offered by macromedia? -
Jrun & Java Application server
Hi I have a question about Jrun and Java Application server . I am developing a data driven web system using J2EE and Coldfusion with SQL server... -
Passing parameters from t Java application to Flash
Hi all, Does anybody know if it's possible to pass data from a Java application (JSP pages / Servlets) to a Flash application ? Thanks a lot... -
Response.ContentType = "application/vnd.ms-excel"
Hi , I have my asp successfully creating excel file viewable through IE using the header: Response.ContentType = "application/vnd.ms-excel" ... -
Fast CGI Vs Java Application Servers
How does FastCGI compare against java Apps running in java app servers like TomCat, Sun One, WebLogic and WebSphere? Is there a business case for... -
PJ #2
Re: Asp.net and Contenttype = application/x-java-jnlp-file
use Response.BinaryWrite
~PJ
"MJ" <maryjofairburn@hotmail.com> wrote in message
news:16dc87aa.0306241307.7ba85e4c@posting.google.c om...> I'm trying to stream the contenttype of "application/x-java-jnlp-file"
> via asp.net/c#, but the client only sees it as a plain text file.
> Example:
>
> Response.Clear();
> Response.ClearHeader();
> Response.Contenttype = "application/x-java-jnlp-file"
> Response.Write(--- jnlp file stuff ---)
> Response.End();
>
> All I get is a plain text. I have set the mime type of .jnlp file in
> IIS to "application/x-java-jnlp-file". It works if I set the aspx
> file's IIS Custom HTTP Header to include "content-type:
> application/x-java-jnlp-file", but I would rather do it in code. I
> have also successfully started java web start in asp with
> Response.contenttype = ... However, in asp.net, it will not work.
> asp.net will stream excel, word, but not jnlp type file. Please help.
PJ Guest
-
MJ #3
Re: Asp.net and Contenttype = application/x-java-jnlp-file
Nope. Didn't work. Any other suggestions? I'm thinking its more of
mime settings on the W2k server. Is there something in the registry
that might say something about mime types?
"PJ" <pjwal@hotmail.com> wrote in message news:<OXP04RsODHA.704@tk2msftngp13.phx.gbl>...> use Response.BinaryWrite
>
> ~PJMJ Guest
-
MJ #4
Re: Asp.net and Contenttype = application/x-java-jnlp-file
Ok... it did work. Thanks!
MJ Guest



Reply With Quote

