Hi all, I have one Request in the Servlet, Is it possible to redirect that request to the different servlet which is not running in my server/context. Please advise me. Urgent Regards Sampath Ramanujan
Hi, sendDirect does not allow me to redirect to the servlet which is running in another Server. It allows only the servlet running in the current root Context. Same thing happening in forward also. I want to redirect to another servlet which is running in anoterh server [ for eg http://mysite.com:8100/servlet/AdminServlet ]
Originally posted by Kyle Brown: (Bosun, that was mean ) You can redirect to any URL if you use the HttpResponse.sendRedirect("some_url") method. Kyle
No, Kyle is correct. RequestDispatcher.forward() and .include() must be to the same application context, response.sendRedirect() can be made to a remote system and can pass parameters
Dave
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.