G'day,

We have developed an application which is running without any problems
using the Orion Server, but we would like to offer our clients JBoss
also.

We have tried running the app with JBoss 2.4.4 (with TomCat 4.0.2) and
have encountered a problem when we try to forward from one JSP to
another, for example using the tag

<jsp:forward page="/control/signin" />

The first few lines of the error we get is 
java.lang.IllegalStateException: Cannot forward after response has been
committed
at
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDisp
atcher.java:367)
at
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispat
cher.java:355)
at
org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:4
14)
at org.apache.jsp.control$jsp._jspService(control$jsp.java:150)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServle
t.java:202)

Is this a known problem?

We have read though the archives and wonder if the following excerpts
relate to the same problem?

** Greg Wilkins wrote on the 9/11/2001
The only problem I have seen is that jasper uses the new
request/response wrapping classes which breaks the way that Jetty does
RequestDispatching.  Thus you can't include or forward from JSPs yet.
This should be fixed within the week.

** Rickard �berg replied on the same day in reference to the above
I noticed a couple of class-casts when using the wrappers, yes. Will
this be fixed for the other usages of wrappers too? I assume so since
it's necessary for Servlets 2.3 to work.

Any help appreciated, with regards


Gamini de Alwis
mailto:[EMAIL PROTECTED]
Software Developer
Business Manager Software 
Tel  (03) 9813 3022. Fax  (03) 9882 5887
website http://www.bmsoft.com.au
Try our latest web orders demo by clicking
http://jdemo.bmsoft.com.au/eorders1/  

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to