├── src ├── parser-tests │ ├── ignore.txt │ ├── superfast │ │ ├── ignore.txt │ │ ├── test04.txt │ │ ├── test03.txt │ │ ├── test06.txt │ │ ├── test02.txt │ │ ├── test07.txt │ │ ├── test05.txt │ │ └── test01.txt │ ├── test36.txt │ ├── test06.txt │ ├── test31.txt │ ├── test26.txt │ ├── test05.txt │ ├── test07.txt │ ├── test34.txt │ ├── test04.txt │ ├── test09.txt │ ├── test45.txt │ ├── test27.txt │ ├── test35.txt │ ├── test41.txt │ ├── test10.txt │ ├── test44.txt │ ├── parsers.properties │ ├── test02.txt │ ├── test15.txt │ ├── test33.txt │ ├── test03.txt │ ├── test12.txt │ ├── test11.txt │ ├── test08.txt │ ├── test16.txt │ ├── test29.txt │ ├── test30.txt │ ├── test42.txt │ ├── test32.txt │ ├── test40.txt │ ├── test13.txt │ ├── test01.txt │ ├── test39.txt │ ├── test28.txt │ ├── test22.txt │ ├── test43.txt │ ├── test24.txt │ ├── test25.txt │ ├── test19.txt │ ├── test18.txt │ ├── test21.txt │ ├── test17.txt │ ├── test23.txt │ ├── test20.txt │ └── readme.txt ├── main │ └── java │ │ └── com │ │ └── opensymphony │ │ ├── module │ │ └── sitemesh │ │ │ ├── html │ │ │ ├── tokenizer │ │ │ │ ├── .cvsignore │ │ │ │ └── TagTokenizer.java │ │ │ ├── StateChangeListener.java │ │ │ ├── TagRule.java │ │ │ ├── rules │ │ │ │ ├── PageBuilder.java │ │ │ │ ├── FramesetRule.java │ │ │ │ ├── ParameterExtractingRule.java │ │ │ │ ├── TitleExtractingRule.java │ │ │ │ ├── HeadExtractingRule.java │ │ │ │ ├── ContentBlockExtractingRule.java │ │ │ │ ├── MetaTagRule.java │ │ │ │ ├── HtmlAttributesRule.java │ │ │ │ ├── TagReplaceRule.java │ │ │ │ ├── BodyTagRule.java │ │ │ │ ├── MSOfficeDocumentPropertiesRule.java │ │ │ │ └── RegexReplacementTextFilter.java │ │ │ ├── TextFilter.java │ │ │ ├── HTMLProcessorContext.java │ │ │ ├── StateTransitionRule.java │ │ │ ├── Text.java │ │ │ └── util │ │ │ │ └── StringSitemeshBuffer.java │ │ │ ├── parser │ │ │ └── SuperFastSimplePageParser.java │ │ │ ├── scalability │ │ │ ├── outputlength │ │ │ │ ├── NoopOutputLengthObserver.java │ │ │ │ ├── OutputLengthObserver.java │ │ │ │ ├── MaxOutputLengthExceeded.java │ │ │ │ └── ExceptionThrowingOutputLengthObserver.java │ │ │ ├── ScalabilitySupport.java │ │ │ ├── secondarystorage │ │ │ │ └── NoopSecondaryStorage.java │ │ │ └── NoopScalabilitySupport.java │ │ │ ├── multipass │ │ │ ├── ExtractPropertyTag.java │ │ │ └── MultipassFilter.java │ │ │ ├── filter │ │ │ ├── PageFilter.java │ │ │ ├── NullWriter.java │ │ │ ├── SitemeshPrintWriter.java │ │ │ └── PageRequestWrapper.java │ │ │ ├── taglib │ │ │ ├── decorator │ │ │ │ ├── UseHTMLPageTEI.java │ │ │ │ ├── BodyTag.java │ │ │ │ ├── UsePageTEI.java │ │ │ │ ├── HeadTag.java │ │ │ │ ├── TitleTag.java │ │ │ │ ├── UsePageTag.java │ │ │ │ └── DivTag.java │ │ │ └── page │ │ │ │ └── ParamTag.java │ │ │ ├── PageParserSelector.java │ │ │ ├── factory │ │ │ └── sitemesh-default.xml │ │ │ ├── SitemeshBufferWriter.java │ │ │ └── mapper │ │ │ └── NullDecoratorMapper.java │ │ └── sitemesh │ │ ├── webapp │ │ ├── package.html │ │ ├── ContainerTweaks.java │ │ └── decorator │ │ │ ├── NoDecorator.java │ │ │ └── ExternalDispatchedDecorator.java │ │ ├── compatability │ │ ├── package.html │ │ ├── HTMLPage2Content.java │ │ └── DecoratorMapper2DecoratorSelector.java │ │ ├── Decorator.java │ │ ├── SiteMeshContext.java │ │ ├── DecoratorSelector.java │ │ ├── ContentProcessor.java │ │ └── Content.java ├── docs │ ├── images │ │ ├── overview.gif │ │ └── flowdiagram.gif │ ├── cache.jsp.txt │ ├── flow.html │ ├── style.jsp.txt │ └── api.css ├── etc │ ├── blank │ │ ├── index.jsp │ │ ├── WEB-INF │ │ │ ├── decorators.xml │ │ │ └── web.xml │ │ └── decorators │ │ │ ├── panel.jsp │ │ │ ├── main.jsp │ │ │ └── printable.jsp │ └── dtd │ │ ├── sitemesh_1_5_decorators.dtd │ │ └── sitemesh_1_0_decorators.dtd └── test │ └── java │ └── com │ └── opensymphony │ └── module │ └── sitemesh │ ├── scalability │ ├── secondarystorage │ │ ├── TeeWriter.java │ │ └── InMemorySecondaryStorage.java │ ├── MockFilterConfig.java │ └── outputlength │ │ └── ExceptionThrowingOutputLengthObserverTest.java │ └── html │ └── CustomTagTest.java ├── example ├── src │ └── main │ │ └── webapp │ │ ├── .cvsignore │ │ ├── tiny-panel.html │ │ ├── meta2.html │ │ ├── counter.jsp │ │ ├── agent.jsp │ │ ├── meta.html │ │ ├── decorators │ │ ├── test-ie.jsp │ │ ├── test.jsp │ │ ├── test-lynx.jsp │ │ ├── test-ns.jsp │ │ ├── test-opera.jsp │ │ ├── printable.jsp │ │ ├── panel.jsp │ │ ├── black.jsp │ │ └── main.css │ │ ├── counter-syntaxerror.jsp │ │ ├── google.html │ │ ├── WEB-INF │ │ ├── web.xml │ │ └── decorators.xml │ │ ├── random.pl │ │ ├── inline.jsp │ │ ├── badpanel.html │ │ ├── badsource.html │ │ ├── index.html │ │ ├── toggledecorator.jsp │ │ └── mandelbrot.pl └── build.gradle ├── gradle.properties ├── testsuite ├── src │ ├── webapp │ │ ├── simple │ │ │ ├── page3.jsp │ │ │ ├── page5.jsp │ │ │ ├── page2.jsp │ │ │ ├── page4.jsp │ │ │ ├── multiple-set-content-type.jsp │ │ │ ├── static.html │ │ │ ├── page1.jsp │ │ │ ├── exclude.jsp │ │ │ ├── exclude │ │ │ │ └── page1.jsp │ │ │ └── page6.jsp │ │ ├── basic │ │ │ ├── text.txt │ │ │ ├── text.unknown │ │ │ ├── error-500.jsp │ │ │ ├── error-exception.jsp │ │ │ ├── page.jsp │ │ │ ├── notmodified.html │ │ │ └── text.jsp │ │ ├── WEB-INF │ │ │ ├── .cvsignore │ │ │ ├── orion-web.xml │ │ │ ├── src │ │ │ │ └── testsuite │ │ │ │ │ └── servlets │ │ │ │ │ ├── ForwardServlet.java │ │ │ │ │ ├── StandardServlet.java │ │ │ │ │ ├── ContentLengthServlet.java │ │ │ │ │ ├── DifferentWaysOfSpecifyingContentType.java │ │ │ │ │ └── OutputServlet.java │ │ │ ├── test-tags.tld │ │ │ ├── weblogic.xml │ │ │ └── sitemesh.xml │ │ ├── redirect │ │ │ ├── simple-forward.jsp │ │ │ ├── simple-include.jsp │ │ │ ├── simple-redirect.jsp │ │ │ ├── simple-rdforward.jsp │ │ │ ├── simple-rdinclude.jsp │ │ │ └── page.jsp │ │ ├── request │ │ │ ├── inline.jsp │ │ │ ├── function.jsp │ │ │ ├── default.jsp │ │ │ ├── decorator-inline.jsp │ │ │ └── decorator-main.jsp │ │ ├── binary │ │ │ └── harry_potter.gif │ │ ├── inline │ │ │ ├── panel1.jsp │ │ │ ├── panel2.jsp │ │ │ ├── page1.jsp │ │ │ ├── page2.jsp │ │ │ ├── page3.jsp │ │ │ ├── page7.jsp │ │ │ ├── page7.html │ │ │ ├── page4.jsp │ │ │ ├── page5.jsp │ │ │ ├── page6.jsp │ │ │ ├── dec-5.jsp │ │ │ ├── dec-6.jsp │ │ │ ├── page8.jsp │ │ │ ├── dec-panel.jsp │ │ │ ├── dec-7.jsp │ │ │ ├── dec-2.jsp │ │ │ ├── dec-3.jsp │ │ │ └── dec-1.jsp │ │ ├── welcomepage │ │ │ └── default.jsp │ │ ├── default.jsp │ │ ├── velocity │ │ │ └── velocity.jsp │ │ ├── contentlength │ │ │ └── page-decorator-none.jsp │ │ ├── freemarker │ │ │ └── freemarker.jsp │ │ ├── multipass │ │ │ ├── content.html │ │ │ ├── expected-result.html │ │ │ └── decorator.jsp │ │ ├── errorpage-200.jsp │ │ └── decorators │ │ │ ├── velocity.vm │ │ │ ├── freemarker.ftl │ │ │ └── simple.jsp │ └── java │ │ └── testsuite │ │ ├── config │ │ ├── ConfigException.java │ │ └── Application.java │ │ └── sitemesh │ │ ├── VelocityDecoratorTest.java │ │ ├── FreemarkerDecoratorTest.java │ │ ├── WelcomePageTest.java │ │ ├── MultipassTest.java │ │ ├── BinaryFileTest.java │ │ ├── RedirectTest.java │ │ └── JettyWebServer.java ├── .gitignore ├── lib │ ├── jaxp.jar │ ├── jtidy.jar │ ├── ant-1.6.5.jar │ ├── crimson.jar │ ├── electricxml.jar │ ├── junit-3.8.1.jar │ ├── log4j-core.jar │ ├── cargo-ant-0.8.jar │ ├── httpunit-1.6.1.jar │ ├── jasper-runtime.jar │ ├── jetty-4.2.21.jar │ ├── oscore-2.2.4.jar │ ├── commons-logging.jar │ ├── jasper-compiler.jar │ └── cargo-core-uberjar-0.8.jar ├── embedded │ └── tomcat │ │ ├── lib │ │ ├── catalina.jar │ │ ├── jsp-api.jar │ │ ├── commons-el.jar │ │ ├── servlet-api.jar │ │ ├── tomcat-coyote.jar │ │ ├── tomcat-http.jar │ │ ├── tomcat-util.jar │ │ ├── commons-logging.jar │ │ ├── commons-modeler.jar │ │ ├── jasper-compiler.jar │ │ ├── jasper-runtime.jar │ │ ├── naming-factory.jar │ │ ├── catalina-optional.jar │ │ ├── naming-resources.jar │ │ ├── servlets-default.jar │ │ └── jasper-compiler-jdt.jar │ │ └── conf │ │ ├── context.xml │ │ └── tomcat-users.xml └── .cvsignore ├── settings.gradle ├── docs ├── images │ ├── overview.gif │ └── flowdiagram.gif ├── cache.jsp.txt ├── flow.html ├── style.jsp.txt ├── api │ ├── package-list │ ├── script.js │ └── com │ │ └── opensymphony │ │ ├── module │ │ └── sitemesh │ │ │ ├── taglib │ │ │ ├── package-frame.html │ │ │ └── page │ │ │ │ └── package-frame.html │ │ │ ├── velocity │ │ │ └── package-frame.html │ │ │ ├── freemarker │ │ │ └── package-frame.html │ │ │ ├── html │ │ │ ├── util │ │ │ │ └── package-frame.html │ │ │ └── tokenizer │ │ │ │ └── package-frame.html │ │ │ ├── factory │ │ │ └── package-frame.html │ │ │ └── tapestry │ │ │ └── package-frame.html │ │ └── sitemesh │ │ ├── webapp │ │ ├── package-frame.html │ │ └── decorator │ │ │ └── package-frame.html │ │ ├── package-frame.html │ │ └── compatability │ │ └── package-frame.html └── dtd │ ├── sitemesh_1_5_decorators.dtd │ └── sitemesh_1_0_decorators.dtd ├── lib ├── mockito-all-1.9.5.jar └── maven-resolver-ant-tasks-1.4.0-uber.jar ├── www └── index.html ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── .gitignore ├── .cvsignore ├── continuous-integration.xml └── .github └── workflows └── gradle.yml /src/parser-tests/ignore.txt: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /src/parser-tests/superfast/ignore.txt: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /example/src/main/webapp/.cvsignore: -------------------------------------------------------------------------------- 1 | *.iml 2 | -------------------------------------------------------------------------------- /gradle.properties: -------------------------------------------------------------------------------- 1 | version=2.7.0-SNAPSHOT 2 | -------------------------------------------------------------------------------- /testsuite/src/webapp/simple/page3.jsp: -------------------------------------------------------------------------------- 1 | Hello world 3 -------------------------------------------------------------------------------- /testsuite/src/webapp/basic/text.txt: -------------------------------------------------------------------------------- 1 | This is a plain page. -------------------------------------------------------------------------------- /testsuite/src/webapp/WEB-INF/.cvsignore: -------------------------------------------------------------------------------- 1 | work 2 | classes 3 | -------------------------------------------------------------------------------- /testsuite/src/webapp/basic/text.unknown: -------------------------------------------------------------------------------- 1 | This is a plain page. -------------------------------------------------------------------------------- /settings.gradle: -------------------------------------------------------------------------------- 1 | rootProject.name = 'sitemesh' 2 | 3 | include ':example' -------------------------------------------------------------------------------- /testsuite/src/webapp/basic/error-500.jsp: -------------------------------------------------------------------------------- 1 | <% response.sendError( 500 ); %> -------------------------------------------------------------------------------- /testsuite/.gitignore: -------------------------------------------------------------------------------- 1 | dist 2 | tmp 3 | test-results 4 | embedded/tomcat/work 5 | -------------------------------------------------------------------------------- /src/main/java/com/opensymphony/module/sitemesh/html/tokenizer/.cvsignore: -------------------------------------------------------------------------------- 1 | Lexer.java 2 | -------------------------------------------------------------------------------- /testsuite/src/webapp/redirect/simple-forward.jsp: -------------------------------------------------------------------------------- 1 | <% pageContext.forward( "page.jsp" ); %> -------------------------------------------------------------------------------- /testsuite/src/webapp/redirect/simple-include.jsp: -------------------------------------------------------------------------------- 1 | <% pageContext.include( "page.jsp" ); %> 2 | -------------------------------------------------------------------------------- /testsuite/src/webapp/redirect/simple-redirect.jsp: -------------------------------------------------------------------------------- 1 | <% response.sendRedirect( "page.jsp" ); %> -------------------------------------------------------------------------------- /testsuite/lib/jaxp.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sitemesh/sitemesh2/HEAD/testsuite/lib/jaxp.jar -------------------------------------------------------------------------------- /testsuite/src/webapp/simple/page5.jsp: -------------------------------------------------------------------------------- 1 | <%= "\u0126\u0118\u0139\u0139\u0150" %> world 5 2 | 3 | -------------------------------------------------------------------------------- /docs/images/overview.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sitemesh/sitemesh2/HEAD/docs/images/overview.gif -------------------------------------------------------------------------------- /testsuite/lib/jtidy.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sitemesh/sitemesh2/HEAD/testsuite/lib/jtidy.jar -------------------------------------------------------------------------------- /docs/images/flowdiagram.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sitemesh/sitemesh2/HEAD/docs/images/flowdiagram.gif -------------------------------------------------------------------------------- /lib/mockito-all-1.9.5.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sitemesh/sitemesh2/HEAD/lib/mockito-all-1.9.5.jar -------------------------------------------------------------------------------- /src/parser-tests/test36.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sitemesh/sitemesh2/HEAD/src/parser-tests/test36.txt -------------------------------------------------------------------------------- /testsuite/lib/ant-1.6.5.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sitemesh/sitemesh2/HEAD/testsuite/lib/ant-1.6.5.jar -------------------------------------------------------------------------------- /testsuite/lib/crimson.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sitemesh/sitemesh2/HEAD/testsuite/lib/crimson.jar -------------------------------------------------------------------------------- /src/docs/images/overview.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sitemesh/sitemesh2/HEAD/src/docs/images/overview.gif -------------------------------------------------------------------------------- /testsuite/lib/electricxml.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sitemesh/sitemesh2/HEAD/testsuite/lib/electricxml.jar -------------------------------------------------------------------------------- /testsuite/lib/junit-3.8.1.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sitemesh/sitemesh2/HEAD/testsuite/lib/junit-3.8.1.jar -------------------------------------------------------------------------------- /testsuite/lib/log4j-core.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sitemesh/sitemesh2/HEAD/testsuite/lib/log4j-core.jar -------------------------------------------------------------------------------- /testsuite/src/webapp/basic/error-exception.jsp: -------------------------------------------------------------------------------- 1 | <% 2 | if ( true ) throw new Exception( "Some exception" ); 3 | %> -------------------------------------------------------------------------------- /testsuite/src/webapp/simple/page2.jsp: -------------------------------------------------------------------------------- 1 |
Hello world 2
4 | 5 | -------------------------------------------------------------------------------- /www/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | This is the default project content. 4 | 5 | 6 | -------------------------------------------------------------------------------- /src/docs/images/flowdiagram.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sitemesh/sitemesh2/HEAD/src/docs/images/flowdiagram.gif -------------------------------------------------------------------------------- /testsuite/lib/cargo-ant-0.8.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sitemesh/sitemesh2/HEAD/testsuite/lib/cargo-ant-0.8.jar -------------------------------------------------------------------------------- /testsuite/lib/httpunit-1.6.1.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sitemesh/sitemesh2/HEAD/testsuite/lib/httpunit-1.6.1.jar -------------------------------------------------------------------------------- /testsuite/lib/jasper-runtime.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sitemesh/sitemesh2/HEAD/testsuite/lib/jasper-runtime.jar -------------------------------------------------------------------------------- /testsuite/lib/jetty-4.2.21.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sitemesh/sitemesh2/HEAD/testsuite/lib/jetty-4.2.21.jar -------------------------------------------------------------------------------- /testsuite/lib/oscore-2.2.4.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sitemesh/sitemesh2/HEAD/testsuite/lib/oscore-2.2.4.jar -------------------------------------------------------------------------------- /docs/cache.jsp.txt: -------------------------------------------------------------------------------- 1 | <% 2 | response.setHeader("Cache-Control", "public"); 3 | response.setHeader("Pragma", "cache"); 4 | %> -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sitemesh/sitemesh2/HEAD/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /testsuite/lib/commons-logging.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sitemesh/sitemesh2/HEAD/testsuite/lib/commons-logging.jar -------------------------------------------------------------------------------- /testsuite/lib/jasper-compiler.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sitemesh/sitemesh2/HEAD/testsuite/lib/jasper-compiler.jar -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | build 2 | target 3 | out 4 | *.iml 5 | *.ipr 6 | *.iws 7 | .idea 8 | dist 9 | .gradle 10 | .DS_Store 11 | -------------------------------------------------------------------------------- /src/docs/cache.jsp.txt: -------------------------------------------------------------------------------- 1 | <% 2 | response.setHeader("Cache-Control", "public"); 3 | response.setHeader("Pragma", "cache"); 4 | %> -------------------------------------------------------------------------------- /.cvsignore: -------------------------------------------------------------------------------- 1 | build 2 | dist 3 | target 4 | velocity.log* 5 | maven.log* 6 | clover 7 | *.i* 8 | .classpath 9 | .project 10 | -------------------------------------------------------------------------------- /testsuite/embedded/tomcat/lib/catalina.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sitemesh/sitemesh2/HEAD/testsuite/embedded/tomcat/lib/catalina.jar -------------------------------------------------------------------------------- /testsuite/embedded/tomcat/lib/jsp-api.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sitemesh/sitemesh2/HEAD/testsuite/embedded/tomcat/lib/jsp-api.jar -------------------------------------------------------------------------------- /testsuite/lib/cargo-core-uberjar-0.8.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sitemesh/sitemesh2/HEAD/testsuite/lib/cargo-core-uberjar-0.8.jar -------------------------------------------------------------------------------- /testsuite/src/webapp/request/inline.jsp: -------------------------------------------------------------------------------- 1 | <%@ include file="function.jsp"%> 2 | 3 | inline.jsp, request: <%= dumpRequest(request) %> 4 | -------------------------------------------------------------------------------- /lib/maven-resolver-ant-tasks-1.4.0-uber.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sitemesh/sitemesh2/HEAD/lib/maven-resolver-ant-tasks-1.4.0-uber.jar -------------------------------------------------------------------------------- /testsuite/embedded/tomcat/lib/commons-el.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sitemesh/sitemesh2/HEAD/testsuite/embedded/tomcat/lib/commons-el.jar -------------------------------------------------------------------------------- /testsuite/src/webapp/binary/harry_potter.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sitemesh/sitemesh2/HEAD/testsuite/src/webapp/binary/harry_potter.gif -------------------------------------------------------------------------------- /testsuite/src/webapp/redirect/simple-rdforward.jsp: -------------------------------------------------------------------------------- 1 | <% application.getRequestDispatcher( "/redirect/page.jsp" ).forward( request, response ); %> -------------------------------------------------------------------------------- /testsuite/src/webapp/redirect/simple-rdinclude.jsp: -------------------------------------------------------------------------------- 1 | <% application.getRequestDispatcher( "/redirect/page.jsp" ).include( request, response ); %> -------------------------------------------------------------------------------- /testsuite/.cvsignore: -------------------------------------------------------------------------------- 1 | build 2 | dist 3 | target 4 | velocity.log* 5 | maven.log* 6 | clover 7 | test-results 8 | tmp 9 | results.html 10 | -------------------------------------------------------------------------------- /testsuite/embedded/tomcat/lib/servlet-api.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sitemesh/sitemesh2/HEAD/testsuite/embedded/tomcat/lib/servlet-api.jar -------------------------------------------------------------------------------- /testsuite/embedded/tomcat/lib/tomcat-coyote.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sitemesh/sitemesh2/HEAD/testsuite/embedded/tomcat/lib/tomcat-coyote.jar -------------------------------------------------------------------------------- /testsuite/embedded/tomcat/lib/tomcat-http.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sitemesh/sitemesh2/HEAD/testsuite/embedded/tomcat/lib/tomcat-http.jar -------------------------------------------------------------------------------- /testsuite/embedded/tomcat/lib/tomcat-util.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sitemesh/sitemesh2/HEAD/testsuite/embedded/tomcat/lib/tomcat-util.jar -------------------------------------------------------------------------------- /testsuite/src/webapp/inline/panel1.jsp: -------------------------------------------------------------------------------- 1 | 2 |Provides integration of SiteMesh with Java web-applications.
3 | -------------------------------------------------------------------------------- /testsuite/embedded/tomcat/lib/commons-logging.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sitemesh/sitemesh2/HEAD/testsuite/embedded/tomcat/lib/commons-logging.jar -------------------------------------------------------------------------------- /testsuite/embedded/tomcat/lib/commons-modeler.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sitemesh/sitemesh2/HEAD/testsuite/embedded/tomcat/lib/commons-modeler.jar -------------------------------------------------------------------------------- /testsuite/embedded/tomcat/lib/jasper-compiler.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sitemesh/sitemesh2/HEAD/testsuite/embedded/tomcat/lib/jasper-compiler.jar -------------------------------------------------------------------------------- /testsuite/embedded/tomcat/lib/jasper-runtime.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sitemesh/sitemesh2/HEAD/testsuite/embedded/tomcat/lib/jasper-runtime.jar -------------------------------------------------------------------------------- /testsuite/embedded/tomcat/lib/naming-factory.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sitemesh/sitemesh2/HEAD/testsuite/embedded/tomcat/lib/naming-factory.jar -------------------------------------------------------------------------------- /testsuite/embedded/tomcat/lib/catalina-optional.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sitemesh/sitemesh2/HEAD/testsuite/embedded/tomcat/lib/catalina-optional.jar -------------------------------------------------------------------------------- /testsuite/embedded/tomcat/lib/naming-resources.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sitemesh/sitemesh2/HEAD/testsuite/embedded/tomcat/lib/naming-resources.jar -------------------------------------------------------------------------------- /testsuite/embedded/tomcat/lib/servlets-default.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sitemesh/sitemesh2/HEAD/testsuite/embedded/tomcat/lib/servlets-default.jar -------------------------------------------------------------------------------- /testsuite/embedded/tomcat/lib/jasper-compiler-jdt.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sitemesh/sitemesh2/HEAD/testsuite/embedded/tomcat/lib/jasper-compiler-jdt.jar -------------------------------------------------------------------------------- /testsuite/src/webapp/basic/page.jsp: -------------------------------------------------------------------------------- 1 | 2 | 3 |Plain page
7 | 8 | -------------------------------------------------------------------------------- /testsuite/src/webapp/basic/notmodified.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |Plain page
7 | 8 | -------------------------------------------------------------------------------- /testsuite/src/webapp/simple/multiple-set-content-type.jsp: -------------------------------------------------------------------------------- 1 | START 2 | <% response.setContentType("text/html");%> 3 | MIDDLE 4 | <% response.setContentType("text/html");%> 5 | END -------------------------------------------------------------------------------- /example/src/main/webapp/tiny-panel.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |page 1 content
8 | 9 | 10 | -------------------------------------------------------------------------------- /testsuite/src/webapp/inline/page2.jsp: -------------------------------------------------------------------------------- 1 | 2 | 3 |page 2 content
8 | 9 | 10 | -------------------------------------------------------------------------------- /testsuite/src/webapp/inline/page3.jsp: -------------------------------------------------------------------------------- 1 | 2 | 3 |page 3 content
8 | 9 | 10 | -------------------------------------------------------------------------------- /testsuite/src/webapp/inline/page7.jsp: -------------------------------------------------------------------------------- 1 | 2 | 3 |Page 7 jsp content
8 | 9 | 10 | -------------------------------------------------------------------------------- /testsuite/src/webapp/simple/static.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |Hello world
8 | 9 | 10 | -------------------------------------------------------------------------------- /src/main/java/com/opensymphony/sitemesh/compatability/package.html: -------------------------------------------------------------------------------- 1 | 2 |Compatibility classes to enable easy migration of SiteMesh 1 and 2 applications to SiteMesh 3.
3 | 4 | -------------------------------------------------------------------------------- /testsuite/src/webapp/simple/page1.jsp: -------------------------------------------------------------------------------- 1 | 2 | 3 |Hello world 1
8 | 9 | 10 | -------------------------------------------------------------------------------- /testsuite/src/webapp/inline/page7.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |Page 7 static content
8 | 9 | 10 | -------------------------------------------------------------------------------- /testsuite/src/webapp/redirect/page.jsp: -------------------------------------------------------------------------------- 1 | 2 | 3 |A different page
8 | 9 | 10 | -------------------------------------------------------------------------------- /testsuite/src/webapp/simple/exclude.jsp: -------------------------------------------------------------------------------- 1 | 2 | 3 |Hello world!
8 | 9 | 10 | -------------------------------------------------------------------------------- /example/src/main/webapp/meta2.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |This page is where you were redirected!
8 | 9 | 10 | -------------------------------------------------------------------------------- /src/main/java/com/opensymphony/module/sitemesh/html/StateChangeListener.java: -------------------------------------------------------------------------------- 1 | package com.opensymphony.module.sitemesh.html; 2 | 3 | public interface StateChangeListener { 4 | void stateFinished(); 5 | } 6 | -------------------------------------------------------------------------------- /src/parser-tests/test06.txt: -------------------------------------------------------------------------------- 1 | ~~~ INPUT ~~~ 2 | Hello world 3 3 | ~~~ TITLE ~~~ 4 | 5 | ~~~ PROPERTIES ~~~ 6 | 7 | title= 8 | 9 | 10 | ~~~ HEAD ~~~ 11 | 12 | 13 | ~~~ BODY ~~~ 14 | Hello world 3 -------------------------------------------------------------------------------- /testsuite/src/webapp/simple/exclude/page1.jsp: -------------------------------------------------------------------------------- 1 | 2 | 3 |Hello world
8 | 9 | 10 | -------------------------------------------------------------------------------- /testsuite/src/webapp/welcomepage/default.jsp: -------------------------------------------------------------------------------- 1 | 2 | 3 |Welcome to the page
8 | 9 | 10 | -------------------------------------------------------------------------------- /testsuite/src/webapp/basic/text.jsp: -------------------------------------------------------------------------------- 1 | <%@ page contentType="text/plain" %> 2 | <%-- This page should be written using the writeoriginal method, as no decorator is mapped for text/plain --%> 3 | This is a plain page. -------------------------------------------------------------------------------- /testsuite/src/webapp/request/default.jsp: -------------------------------------------------------------------------------- 1 | <%@ include file="function.jsp"%> 2 | 3 | 4 | 5 | default.jsp, request: <%= dumpRequest(request) %> 6 | -------------------------------------------------------------------------------- /example/src/main/webapp/counter.jsp: -------------------------------------------------------------------------------- 1 | <%! int count=0; %> 2 | 3 | 4 |Hello world 6
9 | 10 | 11 | -------------------------------------------------------------------------------- /testsuite/src/webapp/default.jsp: -------------------------------------------------------------------------------- 1 | 2 | 3 |SiteMesh test suite!
8 | 9 |<%= new java.util.Date().getTime() %>
10 | 11 | 12 | -------------------------------------------------------------------------------- /example/src/main/webapp/agent.jsp: -------------------------------------------------------------------------------- 1 | 2 | 3 |This page will have a different decorator applied depending on the browser being used to access it.
8 | 9 | 10 | -------------------------------------------------------------------------------- /src/parser-tests/test31.txt: -------------------------------------------------------------------------------- 1 | ~~~ INPUT ~~~ 2 | 3 | 7 | 8 |You shouldn't be seeing this page for long.
9 | 10 | 11 |4 |
5 | 6 | ~~~ TITLE ~~~ 7 | 8 | 9 | ~~~ PROPERTIES ~~~ 10 | 11 | title= 12 | body.bgcolor=black 13 | 14 | ~~~ HEAD ~~~ 15 | 16 | 17 | ~~~ BODY ~~~ 18 | -------------------------------------------------------------------------------- /example/src/main/webapp/meta.html: -------------------------------------------------------------------------------- 1 | 2 |
3 |
4 | 5 | 6 |