Today I Learned
Model
- ๋ฐ์ดํฐ ๋ณด๋ผ๋ Request ๋์ Model ์ฌ์ฉํ๊ธฐ
Forward ์ Redirect
DI
public class A {}
@Component
public class B extends A {} : bean name - b
@Component("hi")
public class C extends A {} : bean name - hi
...
@Autowired
@Qualifier("hi")
private A test; //C๊ฐ ๋์
@Autowired
private A hi; //C๊ฐ ๋์
- ํ๋ก์ ํธ ์์ฑ ํ ๊ธฐ๋ณธ ์ค์
- pom.xml
- web.xml
- JUnitTest ๋๊ตฌ ์ค๋น
728x90