多項選擇題在瀏覽器輸入http://localhost:8080/news/main/list.jsp,分別執(zhí)行下面向行代碼后打印代碼后,打印結(jié)果正確的是()

A.System.out.println(request.getContextPath());打印結(jié)果:/news
B.System.out.println(request.getServletPath());打印結(jié)果:/main/list.jsp
C.System.out.println(request.getRequestURI());打印結(jié)果:http://localhost:8080/news/main/list.jsp
D.System.out.println(request.getRequestURI());打印結(jié)果:/news/main/list.jsp


您可能感興趣的試卷