HttpProxyServlet
From Resin 3.0
(Difference between revisions)
Line 1: | Line 1: | ||
− | [[Category: | + | [[Category:Servlet Library]] |
== Configuration == | == Configuration == |
Revision as of 17:13, 5 January 2006
Configuration
resin-web.xml
<web-app xmlns="http://caucho.com/ns/resin"> <servlet> <servlet-name>http-proxy</servlet-name> <servlet-class>com.caucho.servlets.HttpProxyServlet</servlet-class> <init> <host>localhost:6666</host> </init> </servlet>
You can have multiple <host> tags to load balance to multiple backend servers.