I'm using this code in my servlet for outputting html pages. I'm a bit
confused about exactly what is happenening, could someone please explain in
idiot's terms? (I got the idea from the web but I've lost the source, and
I'm damned if I can find it!! It was an article on a web development site,
anyone know of it?)

dispatcher = getServletContext().getRequestDispatcher(html_page);
if (dispatcher==null){
res.sendError(res.SC_NO_CONTENT);
}
try
{
dispatcher.include(req,res);
}
catch (IOException e){}
catch (ServletException e){}

Many thanks.
Debbie Lampon

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com

___________________________________________________________________________
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

Reply via email to