you can use weblogic proxy class "weblogic.servlet.proxy.HttpProxyServlet". To set up a proxy you need create web.xml and weblogic.xml, and put them in WEB-INF directory as a proxy project. example for weblogic.xml
<!DOCTYPE weblogic-web-app PUBLIC "-//BEA Systems, Inc.//DTD Web Application 9.1//EN" "http://www.bea.com/servers/wls810/dtd/weblogic810-web-jar.dtd">
<weblogic-web-app>
<context-root>/</context-root>
</weblogic-web-app>
**example for web.xml**
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd";>
<web-app>
<servlet>
<servlet-name>ProxyServlet</servlet-name>
<servlet-class>weblogic.servlet.proxy.HttpProxyServlet</servlet-class>
<init-param>
<param-name>redirectURL</param-name>
<param-value> https://domain.com:7002</param-value>
</init-param>
<!-- init-param>
<param-name>PathTrim</param-name>
<param-value>/proxy</param-value>
</init-param-->
<init-param>
<param-name>PathPrepend</param-name>
<param-value>/app1</param-value>
</init-param>
</servlet>
<servlet-mapping>
<servlet-name>ProxyServlet</servlet-name>
<url-pattern>/</url-pattern>
</servlet-mapping>
</web-app>