From: <php...@li...> - 2010-11-12 06:40:59
|
Hi It is configured to handle the request - As I stated in my post, the servlet responds to the php script when the php script is run from the command line: "php test.php". It is when i access the script from the browser (http://localhost:8080/MyWebApp/test.php) that I get the NoSuchMethodException. Regards Hermod -----Original Message----- From: php...@li... [mailto:php...@li...] Sent: Thursday, November 11, 2010 6:17 PM To: php...@li... Subject: Re: [Php-java-bridge-users] Custom servlet sample works from command line but not from inside container Hi, your servlet should have been configured to respond to the request url. Please check your web.xml. Regards, Jost Bökemeier Am 11.11.2010 10:58 schrieb <php...@li...>: Hi I followed the Custom servlet sample, and when i run the test.php from the command line it does what it is supposed to do. If I howeever add the test.php to the MyWebApp and trys to access it via http://localhost:8080/MyWebApp/test.php I get a java.lang.NoSuchMethodException. I debuged and see that it is not my servlet that is beeing used, but the FastCGIServlet, which of course does not have the hello() method. So I conclude that there must be a different way of accessing the servlet from within the container - But how? Hermod * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * This email with attachments is solely for the use of the individual or entity to whom it is addressed. Please also be aware that the DnB NOR Group cannot accept any payment orders or other legally binding correspondence with customers as a part of an email. This email message has been virus checked by the anti virus programs used in the DnB NOR Group. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ------------------------------------------------------------------------------ Centralized Desktop Delivery: Dell and VMware Reference Architecture Simplifying enterprise desktop deployment and management using Dell EqualLogic storage and VMware View: A highly scalable, end-to-end client virtualization framework. Read more! http://p.sf.net/sfu/dell-eql-dev2dev _______________________________________________ php-java-bridge-users mailing list php...@li... https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users ------------------------------------------------------------------------------ Centralized Desktop Delivery: Dell and VMware Reference Architecture Simplifying enterprise desktop deployment and management using Dell EqualLogic storage and VMware View: A highly scalable, end-to-end client virtualization framework. Read more! http://p.sf.net/sfu/dell-eql-dev2dev _______________________________________________ php-java-bridge-users mailing list php...@li... https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * This email with attachments is solely for the use of the individual or entity to whom it is addressed. Please also be aware that the DnB NOR Group cannot accept any payment orders or other legally binding correspondence with customers as a part of an email. This email message has been virus checked by the anti virus programs used in the DnB NOR Group. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * |