I could do that but it would mean that I would need to make one 
action/servlet that includes all the logic for the different parts of 
the page. Not very modular. I want to include different "modules" into 
one page and it would be better if I could have one action/servlet for 
each module and then just jsp:include it together to one page.

/ Jonas

Brett Sealey wrote:

> I'm not sure when it will be fixed - may be some time.
> 
> btw Shouldn't you be going straight to the Servlet first - then just
> use jsp to display?
> 
> On Wed, 4 Jul 2001, Jonas Tehler wrote:
> 
> 
>>Brett Sealey wrote:
>>
>>
>>>On Tue, 3 Jul 2001, Jonas Tehler wrote:
>>>
>>>
>>>
>>>>Hi,
>>>>
>>>>I am trying to use <jsp:include/> to include a servlet into a jsp-page 
>>>>resulting in:
>>>>
>>>>java.lang.IllegalStateException: Request is committed
>>>>
>>>>According to the changelog for Jetty this have been fixed:
>>>>
>>>>Jetty-3.0.2 - 13 Jan 2001
>>>> + Ignore included response updates rather than IllegalStateException
>>>>
>>>>Is this a problem with JBoss+Jetty? Or have the bug somehow sneaked back 
>>>>into 3.1.x? Or is this some other problem I'm having?
>>>>
>>>>/ Jonas
>>>>
>>>>
>>>Jonas,
>>>
>>>The included servlet is attempting to do a forward() from within the
>>>jsp:include. I think this is a different problem to the one reported fixed
>>>in Jetty-3.0.2.
>>>
>>>Trying to use a sendRedirect instead didn't work for me either
>>>(java.lang.IllegalStateException: Output committed). If you can do the
>>>forward before you do the jsp:include then you will be able to work around
>>>it.
>>>
>>Yes, that must be the problem. I am using Struts and want to jsp:include 
>>the output from an Action that forwards to a JSP page...
>>
>>Is this something that will be fixed?
>>
>>/ Jonas
>>
>>
>>_______________________________________________
>>JBoss-user mailing list
>>[EMAIL PROTECTED]
>>http://lists.sourceforge.net/lists/listinfo/jboss-user
>>
>>
> 
> 
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
> 
> 




_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to