cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark H" <mailingli...@markhorgan.com>
Subject Problem redirecting in flowscript
Date Fri, 02 Apr 2004 16:08:28 GMT
I'm having a problem doing redirects in flowscript (using a non-cocoon
protocol). I've traced the problem to the code below and it says redirects
to a new URL are not allowed in the comments. Can anybody tell me why this
is?

org.apache.cocoon.environment.wrapper.EnvironmentWrapper:

/**
     * Redirect the client to a new URL is not allowed
     */
    public void redirect(boolean sessionmode, String newURL)
    throws IOException {
        this.redirectURL = newURL;

        // check if session mode shall be activated
        if (sessionmode) {
            // get session from request, or create new session
            request.getSession(true);
        }
    }

Mark H



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message