----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files.  Don't make us guess your problem!!!
----------------------------------------------------------------


This may be too naive to work, but it seems like what I want is
probably similar to the GNUJSP work-around to deal with JSDK 2.0 (I am
using JSDK 2.0 with Apache 1.3 and JServ 1.1 with JDK 1.2)

<%@ page import="org.gjt.jsp.jsdk20.*,javax.servlet.*" %>

<% RequestDispatcherImpl dispatcher 
    = (RequestDispatcherImpl) ((ServletContextWrapper) getServletContext())
    .getRequestDispatcher("/test.jsp", out );

   ServletRequest srequest = new HttpServletRequestWrapper( request );
   ServletResponse sresult = new HttpServletResponseWrapper( response );
   if (dispatcher != null) dispatcher.include( srequest, sresult );
%>

This is very close to what I think I want to do, but am I correct in
assuming that it does not actually cause undo load to be inflicted on
the webserver or JServ?  Will this method (without the 'out') work
with JSDK 2.1?  Will it work on non-JServ servlet systems?  Will it
work under other JSP implementations.  Is there some reason why
jsp:forward is kept in the JSP 1.0 spec but jsp:recurse (or whatever)
is not?  Can I add such a thing as my own tag in GNUJSP 1.0? Is a
recursive 'forward' a Very Bad Thing to do?  Do I ask too many
questions?

-- 
Gary Lawrence Murphy <[EMAIL PROTECTED]>  TeleDynamics Communications Inc
Business Innovations Through Open Source Systems: http://www.teledyn.com
Linux/GNU Education Group: http://www.egroups.com/group/linux-education/
"Computers are useless.  They can only give you answers."(Pablo Picasso)



--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to