📄 ex4_7.txt
字号:
Example 4.7 Tight Coupling Between a Domain Object and HttpServletRequest Object
/** The following excerpt shows a domain object that is too tightly coupled with HttpServletRequest **/
public class Customer
{
public Customer ( HttpServletRequest request )
{
firstName = request.getParameter("firstname");
lastName = request.getParameter("lastname ");
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -