Http proxy servlet using struts
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   efrat_shi
Posted On:   Sunday, January 6, 2008 09:30 AM

Hi, I have 2 web application "webApp1" which based on struts, and "webApp2". I'm trying to http proxy a servlet from "webApp2" to "webApp1" and to redirect the call to an action in "webApp1" that's what I wrote in "webApp2"/web.xml, I expect it to arrive GetAction.do in "webApp1": GetHttp weblogic.servlet.proxy.HttpProxyServlet 1 redirectURL http://localhost:7001/GetAction.do GetHttp /* but I fail on NullPointerException, any idea what's missing???   More>>

Hi,



I have 2 web application "webApp1" which based on struts, and "webApp2".

I'm trying to http proxy a servlet from "webApp2" to "webApp1" and to redirect the call to an action in "webApp1"



that's what I wrote in "webApp2"/web.xml, I expect it to arrive GetAction.do in "webApp1":





GetHttp

weblogic.servlet.proxy.HttpProxyServlet

1





redirectURL

http://localhost:7001/GetAction.do







GetHttp

/*





but I fail on NullPointerException, any idea what's missing???



Thanks all...

   <<Less

Re: Http proxy servlet using struts

Posted By:   Christopher_Koenigsberg  
Posted On:   Sunday, January 27, 2008 09:24 AM

doesn't the "redirectURL" value need to have the web application context in it? (webApp1/GetAction.do)
About | Sitemap | Contact