首页 试题广场 > 试题详情
单选题

【C014068】在Java Web应用程序中,给定某Servlet程序的代码如下所示
public class Servlet1 extends HttpServlet{
public void doGet(HttpServletRequest request,HttpServletResponse response)throws ServletException,IOException{
System.out.printIn(“get”);
}
public void doPost(HttpServletRequest request,Http ServletResponse response)throws ServletException,IOException{
System.out.printIn(“post”);
doGet(request,response);
}
}
用户在浏览器地址栏中键入正确的请求URL并回车后,在控制台上显示的结果是( )。

  • A.get
  • B.post
  • C.get
    post
  • D.post
    get
提交并查看答案
下一题 上一题
Ke星伙伴们的回答/ 5个回答
  • haoson1989 1楼

    ******
    发表时间:2017-02-07 01:28:16

  • 何其聊聊 2楼

    ******
    发表时间:2017-04-05 09:55:42

  • 巨魔王 3楼

    ******
    发表时间:2017-06-18 14:50:03

  • SWYY 4楼

    ******
    发表时间:2017-11-14 07:51:24

  • free7365 5楼

    ******
    发表时间:2020-04-06 14:30:04

关闭
关闭
QQ
交流群
邀请
好友
App
下载
意见
反馈
返回
顶部