BEA WebLogic Server 7 Instrukcja Obsługi Strona 163

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 545
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 162
Sample Deployment Descriptor for the Proxy Servlet
Administration Guide 9-5
<url-pattern>/</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>ProxyServlet</servlet-name>
<url-pattern>*.jsp</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>ProxyServlet</servlet-name>
<url-pattern>*.htm</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>ProxyServlet</servlet-name>
<url-pattern>*.html</url-pattern>
</servlet-mapping>
</web-app>
Note: You can define additional parameters by creating additional <init-param>
blocks within the
<servlet> block. For example,
<init-param>
<param-name>ParameterName</param-name>
<param-value>ParameterValue</param-value>
</init-param>
Where ParameterName is a parameter described in “Parameters for Web
Server Plug-ins” on page D-1 and
ParameterValue is the value you set for
the parameter.
Listing 9-2 Sample web.xml for use with DEPRECATED version of
HttpProxyServlet
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.
//DTD Web Application 2.2//EN"
"http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
<web-app>
<servlet>
<servlet-name>ProxyServlet</servlet-name>
<servlet-class>weblogic.t3.srvr.HttpProxyServlet</servlet-class>
Przeglądanie stron 162
1 2 ... 158 159 160 161 162 163 164 165 166 167 168 ... 544 545

Komentarze do niniejszej Instrukcji

Brak uwag