web.web-config.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aspectran-demo Show documentation
Show all versions of aspectran-demo Show documentation
Aspectran module showcasing a demo application
The newest version!
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE aspectran PUBLIC "-//ASPECTRAN//DTD Aspectran 8.0//EN" "http://aspectran.github.io/dtd/aspectran-8.dtd"> <aspectran> <description> Aspectran configuration to configure the web environment. Note that names of translets that match the request URI always start with a forward slash (/). </description> <bean id="jspViewDispatcher" class="com.aspectran.web.support.view.JspViewDispatcher"> <description> Register a JSP View Dispatcher. </description> <properties> <item name="prefix">/WEB-INF/jsp/</item> <item name="suffix">.jsp</item> </properties> </bean> <aspect id="webTransletSettings"> <description> This aspect is for injecting default settings into translets running in the web environment. </description> <joinpoint> pointcut: { +: /** } </joinpoint> <settings> <setting name="characterEncoding" value="utf-8"/> <setting name="viewDispatcher" value="jspViewDispatcher"/> </settings> </aspect> <append resource="web/home/main.xml"/> <append resource="web/examples/hello-world.xml"/> <append resource="web/examples/gs-rest-service.xml"/> <append resource="web/examples/file-upload.xml"/> <append resource="web/terminal/translet-interpreter.xml"/> <append resource="web/terminal/terminal-commands.xml"/> <append resource="web/skylark/skylark.xml"/> <append resource="web/chat/chat.xml"/> <append resource="web/monitoring/monitoring.xml"/> </aspectran>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy