This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
i want to transfer control from a servlet to JspPage("Home.jsp") iam getting a problem when using RequestDispatcher rd=getServletContext().getRequestDispathcher("/Home.jsp"); rd.forward(request,response); iam getting NullPointerException problem.if i use response.sendRedirect("/Home.jsp"); it's working fine. what's the problem with RequestDispatcher?
hi, Normally I use this approach RequestDispatcher rd=getServletContext().getRequestDispathcher("/xxx.jsp"); Using RequestDispatcher rd=request.getRequestDispathcher("/xxx.jsp"); is better approach?? Thanks for your time, ------------------ Sreenivasa Kumar Majji Sun Certified Java Programmer SCJP Mock Test