When you call /view-calendar.do, Struts execute your action, and do a forward to the jsp page you specified. Unfortunately, JSP specification forbid a call to forward or sendRedirect once you have already written something. So, you can't do what you try if you have already written something ...
Hope this help, Cedric "Trever M. Shick" wrote: > I'd like to use an action/action form to handle a JSP include, can this be > done...? > > I'd like to do the following.. > > ... > <jsp:include page="/view-calendar.do" flush="true"/> > ... > > My view-calendar.do will either choose: > month.jsp > daily.jsp > week.jsp > > for it's view. > > However, when I try to use this, it tells me that the response has already > been committed. I understand the mechanics behind it all, but I don't know > Struts well enough to work around this. > > I could probably do this via the template tags, but I don't want to use them > as I'm still working on learning the others... I have enough darned tags in > my brain. > > Trever > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>