can anyone shed some light on this for me?
I'm trying to include work from one servlet and send it on to the jsp from
the called servlet.
A snippet is as follows:
-----------
RequestDispatcher rd;
System.out.println("!!!!!!!!!!!!!!!!!!THE INCLUDE STARTS HERE");
rd =
getServletContext().getRequestDispatcher("/servlet/searches.Include_Calculat
eDetailsTab");
rd.include(req, res);
System.out.println("!!!!!!!!!!!!!!!!!!THE INCLUDE ENDS HERE");
// FORWARD THE RESULTS TO THE JSP
if (forward_to_jsp.equals("")){
System.out.println("Error - No JSP to forward to");
#
} else {
System.out.println("Forwarding the parameters from LoadSingleItemHeader to
" + forward_to_jsp);
rd = getServletContext().getRequestDispatcher(forward_to_jsp);
rd.forward(req,res);
}
------------
Without the .include, the jsp works fine, and the include works ok if it
isnt forwarded to a jsp page.
What have i missed?!
My environment:
Solaris 7
Websphere Application Server v3.01
JSP 1.0
Apache 1.3.9
Oracle 8
The annoying thing is the above code works ok on Jakarta/Tomcat!!
Thanks, Neil.
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html