I've writing my first servlet and based it on the sample "CurrentUserServlet.java".
I think this should work but it gives me the error:
RequestDispatcher view = request.getRequestDispatcher("pfg/workareas.jsp");
view.forward(request, response);
Instead, I need to do this:
request.getRequestDispatcher( "pfg/workareas.jsp").include( request, response);
Is this "just the way it is done" in TeamSite? At the java ranch forums, using include was described as "very sloppy code".
Does anybody know *why* that include has to be used?