This content has been marked as final.
Show 5 replies
-
1. Re: Problem with Resteasy integration and SeamResourceServlet
hajdi Dec 30, 2008 4:38 PM (in response to hajdi)Any info on this problem?
Regards,
Rafal -
2. Re: Problem with Resteasy integration and SeamResourceServlet
hajdi Jan 8, 2009 8:45 PM (in response to hajdi)Maybe somebody knows workaround for this problem?
-
3. Re: Problem with Resteasy integration and SeamResourceServlet
meetoblivion Jan 9, 2009 1:32 AM (in response to hajdi)There's nothing stopping you from having multiple servlet paths for a single servlet. I have mine defined like this:
<servlet> <servlet-name>Seam Resource Servlet</servlet-name> <servlet-class>org.jboss.seam.servlet.SeamResourceServlet</servlet-class> </servlet> <servlet-mapping> <servlet-name>Seam Resource Servlet</servlet-name> <url-pattern>/seam/resource/*</url-pattern> </servlet-mapping> <servlet-mapping> <servlet-name>Seam Resource Servlet</servlet-name> <url-pattern>/resources/*</url-pattern> </servlet-mapping>
-
4. Re: Problem with Resteasy integration and SeamResourceServlet
hajdi Jan 9, 2009 3:56 PM (in response to hajdi)Thanks, this solves my first problem.
But still it seams impossible to get rid of resource-path-prefix. -
5. Re: Problem with Resteasy integration and SeamResourceServlet
hajdi Apr 6, 2009 12:02 PM (in response to hajdi)The other solution that I currently use is UrlRewriteFilter. With it you can set paths anyway you want. Nevertheless I think Seam should be more flexible when it comes to this configuration. And of course tags like s:graphicImage shouldn't have hard coded paths.