views:

34

answers:

0

hello,

i have an application where the android device sends data to a server. the server receives the data, processes it and has to open a jsp page. could some one please help. i have used the usual

RequestDispatcher rd = request.getRequestDispatcher(request.getContextPath()+"/main.jsp");
            rd.forward(request, response);

Also use

RequestDispatcher rd = request.getRequestDispatcher("/main.jsp");
            rd.forward(request, response);

But it does not open the jsp page. but for debugging purpose. the system.out statements i have written the jsp show up.