[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - File save as dialog instead of a rendered page

pingus do-not-reply at jboss.com
Mon Aug 6 08:45:05 EDT 2007


Sometimes after a restart of the JBoss Server, accessing our Seam based application results in a file save as dialog instead of the rendered login page. Restarting the server again solved this usually.

To get a better understanding whats going on, I activated Charles in my Firefox and get the attached session Infos. The redirect happens and the page data will be send, but the last response is this:

<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
                      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
                xmlns:s="http://jboss.com/products/seam/taglib"
                xmlns:ui="http://java.sun.com/jsf/facelets"
                xmlns:f="http://java.sun.com/jsf/core"
                xmlns:h="http://java.sun.com/jsf/html"
                xmlns:rich="http://richfaces.ajax4jsf.org/rich"
                template="layout/template_no_sidebar.xhtml">

<ui:define name="main">

    <h:form id="login">
    
        <rich:panel styleClass="loginPanel">
            <f:facet name="header">Login</f:facet>
    
            Bitte melden Sie Sich an:
        
<s:decorate template="/layout/display.xhtml">
<ui:define name="label">Username</ui:define>
<h:inputText id="username" value="#{identity.username}"/>
</s:decorate>

<s:decorate template="/layout/display.xhtml">
<ui:define name="label">Passwort</ui:define>
                    <h:inputSecret id="password" value="#{identity.password}"/>
</s:decorate>

<s:decorate template="/layout/display.xhtml">
<ui:define name="label"></ui:define>
                    <h:selectBooleanCheckbox id="rememberMe" value="#{identity.rememberMe}"/>
                    <h:outputLabel for="rememberMe">Auf diesem Computer merken</h:outputLabel>
</s:decorate>
                

<h:commandButton value="Login" action="#{identity.login}"/>

          
        </rich:panel>
            
    </h:form>

 </ui:define>
</ui:composition>

As you can see, the server sends the source instead of a rendered page.

Any ideas what's going on? Wich components could be involded with this?

Stephan

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4071166#4071166

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4071166



More information about the jboss-user mailing list