Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Other Side Of getRequestDispatcher()

Options
  • 11-03-2004 5:59pm
    #1
    Closed Accounts Posts: 1,233 ✭✭✭


    Hi,

    Just wondering in the following code
    public void doGet ( HttpServletRequest request, HttpServletResponse response)
    throws IOException , ServletException
    {
       ServletContext ctx = getServletContext();
       RequestDispatcher rd = ctx.getRequestDispatcher("https://localhost:8443/servlet/transferManager");
       rd.forward(request, response);
       response.sendRedirect( "https://localhost:8443/jsp/TransferSuccessful.html" );  
    }
    

    In the file
    transferManager
    
    , do I use
    request.getParameter
    
    to retrieve details from the file??

    Thanks.


Advertisement