I have acknowledged 2 methods to call JSP from another one:

The first one is by using the include statement
The other one is by calling :
getServletContext()getRequestDispatcher(<URI>).include(request,
response)

What are the diffrences between both methods ?
Which one is better ?

Another kind of related question:

In a JSP we can call getServletContext()....

I have tried to use "this" in the JSP to reference the implementation
but it doesn't seem to work. How do you reference the JSP's servlet ?

Thanks

Olivier

===========================================================================
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

Reply via email to