1. <jsp:forward page="web/welcome.jsp" /> Tells the servlet runner to start executing a different servlet. Something like a "go to" done in the server. Browser Server Request page A Execute page A code Forward to page B Execute page B code Return page B response 2. response.sendRedirect("web/welcome.jsp"); Return to the client browser a special tag, telling the browser to immediatly load the page described as a parameter. Browser Server Request page A Execute page A code Return redirect command Receive redirect Request page B Execute page B code Return page B response Brad Miley wrote: > > What is the difference between > 1. <jsp:forward page="web/welcome.jsp" /> > 2. response.sendRedirect("web/welcome.jsp"); > =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets