|
|
|
JIRA click-jira@avoka.com
|
[ http://www.avoka.com:8080/jira/browse/CLK-424?page=all ]
Bob Schellink updated CLK-424: ------------------------------ Description: In click documentation I don't find a "must" in using the ".htm" extension for my pages. So I decided to add my own Controllers and Container to handle a different language XML based, allowing me using the Page to generate xml like pages. For this I use the ".vxml" extension, but when I tryed to launch my page it failed to render due to a click loop in generating an infinite time the code for the page.... javax.servlet.ServletException: PWC1232: Exceeded maximum depth for nested request dispatches: 20 at org.apache.catalina.core.ApplicationDispatcher.doInvoke(ApplicationDispatcher.java:842) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:703) at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:542) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:474) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:366) at net.sf.click.ClickServlet.processPage(ClickServlet.java:661) at net.sf.click.ClickServlet.handleRequest(ClickServlet.java:331) at net.sf.click.ClickServlet.doGet(ClickServlet.java:250) at javax.servlet.http.HttpServlet.service(HttpServlet.java:718) at javax.servlet.http.HttpServlet.service(HttpServlet.java:831) at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:411) at org.apache.catalina.core.ApplicationDispatcher.doInvoke(ApplicationDispatcher.java:855) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:703) at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:542) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:474) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:366) at net.sf.click.ClickServlet.processPage(ClickServlet.java:661) at net.sf.click.ClickServlet.handleRequest(ClickServlet.java:331) at net.sf.click.ClickServlet.doGet(ClickServlet.java:250) at javax.servlet.http.HttpServlet.service(HttpServlet.java:718) at javax.servlet.http.HttpServlet.service(HttpServlet.java:831) at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:411) at org.apache.catalina.core.ApplicationDispatcher.doInvoke(ApplicationDispatcher.java:855) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:703) at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:542) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:474) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:366) at net.sf.click.ClickServlet.processPage(ClickServlet.java:661) at net.sf.click.ClickServlet.handleRequest(ClickServlet.java:331) at net.sf.click.ClickServlet.doGet(ClickServlet.java:250) at javax.servlet.http.HttpServlet.service(HttpServlet.java:718) at javax.servlet.http.HttpServlet.service(HttpServlet.java:831) at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:411) at org.apache.catalina.core.ApplicationDispatcher.doInvoke(ApplicationDispatcher.java:855) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:703) ..... I think that it would be good to handle this exception or not allowing click to go on loop, but simply writing an error message saying "Extension not supported" or something like this. I also think that is useful to allow click to manage any type of extensions. Can you please help me giving me a suggestion on how to permit click to render my page whithout going on loop? I'm reading the click source code, but if you can tell me what methods to override, my work will be faster and precise. Thanks was: In click documentation I don't find a "must" in using the ".htm" extension for my pages. So I decided to add my own Controllers and Container to handle a different language XML based, allowing me using the Page to generate xml like pages. For this I use the ".vxml" extension, but when I tryed to launch my page it failed to render due to a click loop in generating an infinite time the code for the page.... javax.servlet.ServletException: PWC1232: Exceeded maximum depth for nested request dispatches: 20 at org.apache.catalina.core.ApplicationDispatcher.doInvoke(ApplicationDispatcher.java:842) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:703) at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:542) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:474) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:366) at net.sf.click.ClickServlet.processPage(ClickServlet.java:661) at net.sf.click.ClickServlet.handleRequest(ClickServlet.java:331) at net.sf.click.ClickServlet.doGet(ClickServlet.java:250) at javax.servlet.http.HttpServlet.service(HttpServlet.java:718) at javax.servlet.http.HttpServlet.service(HttpServlet.java:831) at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:411) at org.apache.catalina.core.ApplicationDispatcher.doInvoke(ApplicationDispatcher.java:855) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:703) at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:542) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:474) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:366) at net.sf.click.ClickServlet.processPage(ClickServlet.java:661) at net.sf.click.ClickServlet.handleRequest(ClickServlet.java:331) at net.sf.click.ClickServlet.doGet(ClickServlet.java:250) at javax.servlet.http.HttpServlet.service(HttpServlet.java:718) at javax.servlet.http.HttpServlet.service(HttpServlet.java:831) at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:411) at org.apache.catalina.core.ApplicationDispatcher.doInvoke(ApplicationDispatcher.java:855) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:703) at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:542) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:474) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:366) at net.sf.click.ClickServlet.processPage(ClickServlet.java:661) at net.sf.click.ClickServlet.handleRequest(ClickServlet.java:331) at net.sf.click.ClickServlet.doGet(ClickServlet.java:250) at javax.servlet.http.HttpServlet.service(HttpServlet.java:718) at javax.servlet.http.HttpServlet.service(HttpServlet.java:831) at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:411) at org.apache.catalina.core.ApplicationDispatcher.doInvoke(ApplicationDispatcher.java:855) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:703) ..... I think that it would be good to handle this exception or not allowing click to go on loop, but simply writing an error message saying "Extension not supported" or something like this. I also think that is useful to allow click to manage any type of extensions. Can you please help me giving me a suggestion on how to permit click to render my page whithout going on loop? I'm reading the click source code, but if you can tell me what methods to override, my work will be faster and precise. Thanks > not using ".htm" extension cause click to go on loop > ---------------------------------------------------- > > Key: CLK-424 > URL: http://www.avoka.com:8080/jira/browse/CLK-424 > Project: Click > Issue Type: Bug > Components: core > Affects Versions: 1.5 M3 > Environment: Gentoo Linux, OpenSolaris, Solaris 9 for sparc. Using both Glassfish and Bea Weblogic > Reporter: Stefax > > In click documentation I don't find a "must" in using the ".htm" extension for my pages. So I decided to add my own Controllers and Container to handle a different language XML based, allowing me using the Page to generate xml like pages. For this I use the ".vxml" extension, but when I tryed to launch my page it failed to render due to a click loop in generating an infinite time the code for the page.... > javax.servlet.ServletException: PWC1232: Exceeded maximum depth for nested request dispatches: 20 > at org.apache.catalina.core.ApplicationDispatcher.doInvoke(ApplicationDispatcher.java:842) > at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:703) > at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:542) > at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:474) > at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:366) > at net.sf.click.ClickServlet.processPage(ClickServlet.java:661) > at net.sf.click.ClickServlet.handleRequest(ClickServlet.java:331) > at net.sf.click.ClickServlet.doGet(ClickServlet.java:250) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:718) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:831) > at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:411) > at org.apache.catalina.core.ApplicationDispatcher.doInvoke(ApplicationDispatcher.java:855) > at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:703) > at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:542) > at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:474) > at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:366) > at net.sf.click.ClickServlet.processPage(ClickServlet.java:661) > at net.sf.click.ClickServlet.handleRequest(ClickServlet.java:331) > at net.sf.click.ClickServlet.doGet(ClickServlet.java:250) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:718) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:831) > at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:411) > at org.apache.catalina.core.ApplicationDispatcher.doInvoke(ApplicationDispatcher.java:855) > at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:703) > at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:542) > at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:474) > at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:366) > at net.sf.click.ClickServlet.processPage(ClickServlet.java:661) > at net.sf.click.ClickServlet.handleRequest(ClickServlet.java:331) > at net.sf.click.ClickServlet.doGet(ClickServlet.java:250) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:718) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:831) > at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:411) > at org.apache.catalina.core.ApplicationDispatcher.doInvoke(ApplicationDispatcher.java:855) > at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:703) > ..... > I think that it would be good to handle this exception or not allowing click to go on loop, but simply writing an error message saying "Extension not supported" or something like this. I also think that is useful to allow click to manage any type of extensions. > Can you please help me giving me a suggestion on how to permit click to render my page whithout going on loop? I'm reading the click source code, but if you can tell me what methods to override, my work will be faster and precise. > Thanks -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://www.avoka.com:8080/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Click-development mailing list Click-development@... https://lists.sourceforge.net/lists/listinfo/click-development |
||||
| Free Forum Powered by Nabble | Forum Help |