Hi!

I have a Wicket  webapp running in Resin. From one of the pages
(non-bookmarkable) I want to send an Ajax request to a php script to get
some xml.
I put 
--------------------------------
<web-app xmlns="http://caucho.com/ns/resin";>
   <servlet-mapping url-pattern="*.php"
                   
servlet-class="com.caucho.quercus.servlet.QuercusServlet">
   </servlet-mapping>
</web-app>
------------------------------
in web.xml file in webapps/ROOT/WEB-INF and my php script in webapps/ROOT. 
then when I access using 
http://localhost:8080/getDestList.php,(by typing it in the browser address
bar)
I get the xml back properly.

what I want to do is get the xml by calling the script from a webapp not in
ROOT.
i.e. my webapp is  $RESIN_HOME/webapps/myapp .

Accessing the php script from the web-page in myapp doesn't work.

How can I config resin to allow access to the script on ROOT from myapp?
Or what do I need to do to make the script run from within myapp itself?

Any help would be greatly appreciated. Thanks.
-- 
View this message in context: 
http://www.nabble.com/PHP-From-a-webapp-tf3524991.html#a9834289
Sent from the Resin mailing list archive at Nabble.com.



_______________________________________________
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest

Reply via email to