單項(xiàng)選擇題J2EE中,哪個類的哪個方法用于創(chuàng)建對話?()

A.HttpServletRequest、getSession
B.HttpServletResponse、newSession
C.HtttpSession、newInstance
D.HttpSession、getSession


您可能感興趣的試卷

你可能感興趣的試題

1.單項(xiàng)選擇題設(shè)置session的有效時間使用的是該對象的什么方法?()

A.setAttribute()方法
B.getMaxInactiveInterval()方法
C.setMaxInactiveInterval()方法
D.setTime()方法

2.多項(xiàng)選擇題MVC模式中一般情況servlet可以擔(dān)任哪些角色?()

A.Controller中接受用戶請求
B.View中返回響應(yīng)信息,刷新用戶界面
C.Model中處理業(yè)務(wù)邏輯
D.訪問Model中的元素