I have a POST I need to a do to a url ( through Apache Jmeter and in fact any descent programmatic HTTP request libraries) I have my servlet is a war ( test.war ) with the web.xml having the correct url mapping
<servlet> <servlet-name>test</servlet-name> <servlet-class>com.company.TestServlet</servlet-class> </servlet> <servlet-mapping> <servlet-name>test</servlet-name> <url-pattern>/</url-pattern> </servlet-mapping> I am able to POST to http://localhost:8080/test/ ( note the trailing "/" ) .. on the other hand if I only use http://localhost:8080/test ( without the trailing "/" ) , my post data does not come through. GET works in either cases. Is this a specification of the servlet API or a feature of the HTTP protocol? What should I do to get the http://localhost:8080/test to get me the POST data. ( without the trailing "/" ) . We are moving away from having Apache front us , show proxyPass url rewriting is non applicable. -- View this message in context: http://old.nabble.com/POST-to-a-url-tp27790175p27790175.html Sent from the Tomcat - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org