So, where is your Camel related question?

Best,
Christian

On Thu, Feb 7, 2013 at 12:57 PM, CamelNewbieUser
<harddrive.ma...@gmail.com>wrote:

> Hi, I am doing a very simple HTML to servlet invocation within ServiceMix.
> My
> HTML is very simple with below form element: My Servlet code is as below:
> protected void doPost(HttpServletRequest request, HttpServletResponse
> response) throws ServletException, IOException { System.out
> .println("------------------RouteTest1------------------------");
> System.out.println("Do Post"); PrintWriter out = response.getWriter();
> response.setContentType("text/html");                 out.println("Response
> from Servlet"); } Upon deployment I get below error: HTTP ERROR 405Problem
> accessing /RouteTest1/RouteServlet. Reason:     HTTP method POST is not
> supported by this URL I tried to add post within web.xml  element but using
> servlet 2.5 it is not allowing me to do so. I also have added a static
> block
> to check if servlet is getting invoked but it is also not appearing in the
> logs. Can please assist with this? Thanks in advance, Manoj
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Getting-HTTP-405-in-POST-call-tp5727106.html
> Sent from the Camel - Users mailing list archive at Nabble.com.




--

Reply via email to