This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.springsource.examples.sawt.proxy; | |
import org.springframework.beans.factory.annotation.Autowired; | |
import org.springframework.context.annotation.*; | |
public class Main { | |
@Configuration | |
@EnableAspectJAutoProxy | |
static class MyConfigurationClass { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.springsource.examples.spring31.web.config; | |
import org.springframework.context.annotation.Configuration; | |
import org.springframework.web.servlet.config.annotation.*; | |
@Configuration | |
@EnableWebMvc | |
public class WebMvcConfiguration { | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
./pom.xml | |
./src | |
./src/main | |
./src/main/java | |
./src/main/resources | |
./src/test | |
./src/test/java | |
./src/test/resources |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> | |
<%@ taglib prefix="tiles" uri="http://tiles.apache.org/tags-tiles" %> | |
<%@ taglib prefix="security" uri="http://www.springframework.org/security/tags" %> | |
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %> | |
<%@ page session="false" %> | |
<!doctype html> | |
<html ng-app="crm"> | |
<head> | |
<!-- ... --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Bean | |
public TilesConfigurer tilesConfigurer() { | |
TilesConfigurer tilesConfigurer = new TilesConfigurer(); | |
tilesConfigurer.setDefinitions(new String[]{ | |
"/WEB-INF/layouts/tiles.xml", | |
"/WEB-INF/views/**/tiles.xml" | |
}); | |
return tilesConfigurer; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.springsource.examples.spring31.web.config; | |
// ... | |
@Configuration | |
@EnableWebMvc | |
@ComponentScan(basePackageClasses = { ViewController.class, CustomerService.class }) | |
public class WebMvcConfiguration { | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.springsource.examples.spring31.web.config; | |
// ... | |
@Configuration | |
@EnableWebMvc | |
@ComponentScan(basePackageClasses = { ViewController.class, CustomerService.class }) | |
public class WebMvcConfiguration extends WebMvcConfigurerAdapter { | |
//... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.springsource.examples.spring31.web.config; | |
// ... | |
@Configuration | |
@EnableWebMvc | |
@ComponentScan(basePackageClasses = { ViewController.class, CustomerService.class }) | |
public class WebMvcConfiguration extends WebMvcConfigurerAdapter { | |
//... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.springsource.examples.spring31.web.config; | |
// ... | |
@Configuration | |
@EnableWebMvc | |
@ComponentScan(basePackageClasses = { ViewController.class, CustomerService.class }) | |
public class WebMvcConfiguration extends WebMvcConfigurerAdapter { | |
@Bean |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<h1> Hello ${name} ! </h1> |
OlderNewer