ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  Clustering and Load Balancing in Tomcat 5, Part 2
Subject:   Not able to locate BalancerFilter
Date:   2005-03-03 22:10:40
From:   Falgun
hi there


i am not able to locate BalancerFilter.java or BalancerFilter.class.
can anyone tell me that how do i forward(redirect) request object, which has userID and password as its parameter to servlet running on some other host.


i tried using following code in LoadBalancerServlet


getServletContext().getRequestDispatcher("http://172.16.25.54:8080/MyServlets/MainServlet").forward(request, response);


but it thorws following exception


java.lang.RuntimeException url does not start with '/'


please help


thanks
Falgun




thanks in advance


Falgun


1 to 1 of 1
  1. Not able to locate BalancerFilter
    2005-07-20 02:02:00  IDunno [View]

1 to 1 of 1