Thanks,
I'm wondering whether another approach is viable.
SJSP works with Apache and JServ, so it is working with the servlet 2.0 api. This
means the guys (or guy? :) who wrote it has sorted out the include/forward problem
to be able to implement the jsp:include and jsp:forward tags.
Perhaps using the SJSP servlet base class could work - i.e. for my "controller"
servlet subclass off the sjsp servlet class, making sure doGet, doPost etc call the
_jspservice method, and then use the PageContext.forward and .include methods from
within the control servlet. Fairly disgusting I know, but it just might work :)
Not sure of the architecture of SJSP and if this will work though :( ... I can but
try.
Jari
BTW. There have been some posts about Tomcat - any opinion on how stable this is?
How close to a proper beta are the team? The apache.org site only lists nightly
builds as available, but it seems some people have been having success...
"Craig R. McClanahan" wrote:
> <snip>
>
> Out of the box, the only support in the 2.0 API for this would be to use
> sendRedirect(), which has performance impacts. You can pass beans in the user's
> session (2.0 did not have request attributes, but they would not work across a
> sendRedirect anyway so it is not a big deal).
>
> Some JSP implementations based on 2.0 have implemented custom variations of the
> old callPage() method from JSP 0.91 to get around this restriction. Check the
> docs on your JSP implementation to be sure what is supported.
>
> Craig McClanahan
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html