Given this fragment in a servlet: 23.if(req.isUser...
单选题

Given this fragment in a servlet: 23.if(req.isUserInRole("Admin")) { 24.// do stuff 25.} And the following fragment from the related Java EE deployment descriptor: 812. 813.Admin 814.Administrator 815. 900. 901.Admin 902.Administrator 903. What is the result?()

发布日期:2020-04-10

A.Line 24 can never be reached.

B.The deployment descriptor is NOT valid.

C.If line 24 executes, the user’s role will be Admin.

D.If line 24 executes, the user’s role will be Administrator.

E.If line 24 executes the user’s role will NOT be predictable.

热门试题

热门资讯

    暂无相关推荐~

分享给好友

分享到朋友圈

取消

使用浏览器的分享功能,把这篇文章分享出去

确定