This content has been marked as final.
Show 3 replies
-
1. Re: URLRewrite, MockViewHandler causing problems
targeter Mar 25, 2008 5:17 PM (in response to targeter)Sorry, can't seem to find the edit button.
I'm missing a line in the first code block. It should read:
2008-03-25 16:44:34,627 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/vl].[default]] Servlet.service() for servlet default threw exception java.lang.IllegalArgumentException: no file extension in servlet path: /signup at org.jboss.seam.mock.MockViewHandler.getActionURL(MockViewHandler.java:44)
-
2. Re: URLRewrite, MockViewHandler causing problems
targeter Mar 26, 2008 10:35 AM (in response to targeter)The way I understand it now, the ViewHandler is trying to create a URL by looking at the request, which is the re-written URL that means nothing to Seam. How can I stop this from happening? I don't see why it needs a link to the current page, since it just needs to redirect to the error page.
-
3. Re: URLRewrite, MockViewHandler causing problems
targeter Mar 27, 2008 9:16 AM (in response to targeter)The solution, for those interested:
Make sure the URLRewriteFilter comes before the Seam filter in web.xml.