Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.
Hi all, please see this major site announcement: https://www.boards.ie/discussion/2058427594/boards-ie-2026

Other Side Of getRequestDispatcher()

  • 11-03-2004 04: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