Thứ Sáu, 25 tháng 5, 2018

Các loại init param, file web.xml

Các loại init param, file web.xml
1. servlet (mỗi cái)
init-param
this.getServletConfig().getInitParameter(arg0)
2. servlet context (toàn server)
context-param
this.getServetContext().getInitParameter(arg0)
3. jsp
init-param
config.getInitParameter("blog")

Không có nhận xét nào:

Đăng nhận xét