Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I am not sure if this is relevant to your setup but I had the same error (405-post not supported)</p> <p>Initially I thought it was sitemesh related. However when I looked into it a bit more in my case it was because I was using <code>&lt;mvc:resources /</code>> to provide a static mapping to the decorator.</p> <p>it was <code>&lt;mvc:resources /&gt;</code> that was not accepting the post requests for the decorator file as sitemesh was trying to access it using a Post request.</p> <p>I changed the mapping of my decorator file to make sure it was static and responded to POST and GET requests. More details here <a href="https://stackoverflow.com/questions/15588001/spring-not-accept-post-request-under-mvcresources-how-to-fix-that">Spring: not accept POST request under mvc:resources? how to fix that</a></p> <p>The code I used is</p> <pre><code>&lt;bean class="org.springframework.web.servlet.handler.SimpleUrlHandlerMapping"&gt; &lt;property name="urlMap"&gt; &lt;map&gt; &lt;entry key="/DecTest/**" value="myResourceHandler" /&gt; &lt;/map&gt; &lt;/property&gt; &lt;property name="order" value="100000" /&gt; &lt;/bean&gt; &lt;bean id="myResourceHandler" name="myResourceHandler" class="org.springframework.web.servlet.resource.ResourceHttpRequestHandler"&gt; &lt;property name="locations" value="/DecTest/" /&gt; &lt;property name="supportedMethods"&gt; &lt;list&gt; &lt;value&gt;GET&lt;/value&gt; &lt;value&gt;HEAD&lt;/value&gt; &lt;value&gt;POST&lt;/value&gt; &lt;/list&gt; &lt;/property&gt; &lt;!-- cacheSeconds: maybe you should set it to zero because of the posts--&gt; &lt;/bean&gt; </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload