Hi Paul,
<jsp:request forward .../> is not implemented in JWS 2.0 beta2
It will be implemented for the final release version of JWS 2.0.
The correct syntax for forwarding (according to the JSP spec)
is now:
<jsp:forward .../>
I just tried your simple test case using my latest JWS build and it works.
regards,
-isa
]X-Sender: [EMAIL PROTECTED]
]Mime-Version: 1.0
]Date: Tue, 22 Jun 1999 18:20:06 -0700
]From: Paul Reiber <[EMAIL PROTECTED]>
]Subject: forwarding to other JSP pages
]To: [EMAIL PROTECTED]
]
]Hello all!
]
]We're using JSP1.0 under JWS2.0beta2.
]
]We've been trying to get "page forwarding" working. Specifically, to get
]one JSP page to simply forward over to another JSP page without doing a
]round-trip to the client browser.
]
]The simplest JSP file I've come up with for this is a 2-liner that says:
]<%@ page language="java" %>
]<jsp:request forward="http://hostname/.../other.jsp" />
]
]When I hit the page, after the "recompile delay" I get:
]
]Error during JSP page parsing
]Unknown exception: java.lang.IllegalStateException: Can not forward to
]servlet jspServlet : OutputStream or writer has been obtained
]
]...At first, I thought this was because of the stuff above the redirect
]being sent as HTML, but I've eliminated almost everything!
]
]So, What am I missing?
]
]Thanks in advance for your guidance!
]-Paul Reiber
]
]===========================================================================
]To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
]of the message "signoff JSP-INTEREST". For general help, send email to
][EMAIL PROTECTED] and include in the body of the message "help".
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JSP-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".