I was found this for RequestProcessor protected boolean processPreprocess( HttpServletRequest request, HttpServletResponse response){
boolean continueProcessing = true; HttpSession userSession = request.getSession(false); // Check to see if there's a session for the user that wasn't just created if ( userSession == null || userSession.isNew() ){ continueProcessing = false; response.sendRedirect( "/login.jsp" ); } // Tell the RequestProcessing to continue processing the request or not return continueProcessing; } And explanation is: "The manner in which Example 9-3 specifies the path in the sendRedirect() method is not the best approach. This redirect would only work if the example was running as the default web application and there was a login.jsp page in the root directory. It was done this way to keep the example simple. A better approach would be to retrieve the ActionForward for the login page and use the path from it in the sendRedirect() method. That way, if the actual page changed for the forward, this method doesn't have to be modified." How can I get ActionForward to make something like this: -actionMapping.getInputForward() -actionMapping.findForward("homeAction") ........... --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]