Seam Remoting is currently throwing an UnsupportedOperationException
| java.lang.UnsupportedOperationException: Cannot post to the resource servlet
| at org.jboss.seam.servlet.ResourceServlet.doPost(ResourceServlet.java:107)
|
Seam XMLHttpRequests are POSTs so either the doPost should work, or the remoting requests
need to go to something that doesn't satisfy the "/seam/resource/*"
url-pattern.
This doPost change was made pretty recently because I have been updating my CVS tree on a
daily basis and I'm just now seeing this problem.
Based on the documentation and current examples I have the following configuration.
| <filter>
| <filter-name>Seam Filter</filter-name>
| <filter-class>org.jboss.seam.web.SeamFilter</filter-class>
| </filter>
|
| <filter-mapping>
| <filter-name>Seam Filter</filter-name>
| <url-pattern>/*</url-pattern>
| </filter-mapping>
|
| <servlet>
| <servlet-name>Seam Resource Servlet</servlet-name>
|
<servlet-class>org.jboss.seam.servlet.ResourceServlet</servlet-class>
| </servlet>
|
| <servlet-mapping>
| <servlet-name>Seam Resource Servlet</servlet-name>
| <url-pattern>/seam/resource/*</url-pattern>
| </servlet-mapping>
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4026450#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...