Thanks for your response. Sorry my question wasn't clair. What I want to ask for is : This redirection is done with a return class in my java file. The correspondig "tml" file is empty (just <html></html> ). In my Junit test file I create a "Document" who gets my page but it return an application exception: Document myIndexPage = pageTester.renderPage("Index").
"index.tml" is the redirection page.