Just as a quick follow up, this works in Firefox, but not in IE.

--- On Thu, 7/17/08, Dola Woolfe <[EMAIL PROTECTED]> wrote:

> From: Dola Woolfe <[EMAIL PROTECTED]>
> Subject: Changing content type on reload
> To: "Tom Cat" <[EMAIL PROTECTED]>
> Date: Thursday, July 17, 2008, 10:51 PM
> Hi,
> 
> I'm going to attempt asking a question by giving
> incomplete information but I am still hoping to get an
> answer. The complete story would be too cumbersome to
> describe.
> 
> Basically here's a snippet of my code:
> 
> <[EMAIL PROTECTED] errorPage="ErrorPage.jsp"
> contentType="application/x-java-jnlp-file"%>
> <[EMAIL PROTECTED] file="InitializePage.jsp"%>
> <%
>    if (user == null) 
>      throw new servlets.Authentication.Exception("User
> is null");
>    else if (!user.belongsTo(1L)) {
>      throw new
> servlets.Authentication.Exception("Insufficient
> access");
>    }
>  %>
>   
> <?xml version="1.0"
> encoding="utf-8"?>
> 
> <jnlp spec="1.5+" codebase="http://<%=
> pmg.IOUtilities.gGetLocalIPAddress() %>/infoflow"
> >
>    <information>
>     <title>Info Flow System Application</title>
> 
> 
> // ETC
> 
> WHen the exception is fielded by the error page, the user
> is presented with a login form and when he/she logs in, the
> page is reloaded (with javascript). The problem is that the
> xml code, rather than invoking jnlp, is displayed as if it
> were HTML and jnlp kicks in only when the user reloads.
> This is with IExplorer.
> 
> Anything I can do about this from the tomcat point of view?
> 
> Thanks much in advance!
> 
> Dola
> 
> 
> 
>       
> 
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]


      

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to