mirror of
https://github.com/apache/struts.git
synced 2026-08-16 03:56:57 +00:00
Added ability to customize template path prefix
WW-1595 git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@492788 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
+2
-1
@@ -44,10 +44,11 @@ public class CodebehindUnknownHandlerTest extends StrutsTestCase {
|
||||
super.setUp();
|
||||
mockServletContext = new Mock(ServletContext.class);
|
||||
handler = new CodebehindUnknownHandler();
|
||||
handler.setDefaultPackage("codebehind-default");
|
||||
handler.setPathPrefix("/");
|
||||
handler.setConfiguration(configuration);
|
||||
handler.setObjectFactory(container.getInstance(ObjectFactory.class));
|
||||
handler.setServletContext((ServletContext)mockServletContext.proxy());
|
||||
|
||||
}
|
||||
|
||||
public void testBuildResult() {
|
||||
|
||||
Reference in New Issue
Block a user