struts 2.0.11 - 目前我在我的本地机器上,并且分别在tomcat(struts 2.0.11)和weblogic下运行两个不同的Web应用程序。Struts2 - 使用POST方法跨域重定向
的Tomcat:
链接:本地主机:8080 /零售/ order.action
的struts.xml:
<action name="order" method="execute" class="com.retail.action.OrderAction">
<result name="redirect" type="redirect">
<param name="location">${weblogicURL}?user=${user}</param>
</result>
</action>
我有一个像 'weblogicURL' 和 '用户' 所需的属性在Tomcat Web应用程序中的OrderAction中。现在,这是工作和WebLogic资源是越来越像下面的GET方法访问,
localhost:7020/retail/orderPortal?user=test
我想使用POST方法从Tomcat访问WebLogic中,有没有什么办法来实现这一目标?
有您正在使用这样的旧版本S2的具体原因是什么? – 2012-03-28 10:21:06
@Umesh Awasthi这是一个现有的应用程序,后来开发出来了,我只是对它进行了一些更改。 – SyAu 2012-03-28 10:37:45
哦..没关系:) – 2012-03-28 10:39:19