给定某程序的片断如下,用户在浏览器地址栏中键入正确的请求URL并回车后,在控制台上显示的结果是:( A)
给定某程序的片断如下,用户在浏览器地址栏中键入正确的请求URL并回车后,在控制台上显示的结果是:(A)publicvoiddoGet(HttpServletRequest...
给定某程序的片断如下,用户在浏览器地址栏中键入正确的请求URL并回车后,在控制台上显示的结果是:( A)
public void doGet(HttpServletRequest request,HttpServletResponse response)
throws ServletException,IOException{
System.out.println(“get”);
}
Public void doPost(HttpServletRequest request,HttpServletResponse response)
Throws ServletException,IOException{
System.out.println(“post”);
}
A get
B post
C get Post
D post Get 展开
public void doGet(HttpServletRequest request,HttpServletResponse response)
throws ServletException,IOException{
System.out.println(“get”);
}
Public void doPost(HttpServletRequest request,HttpServletResponse response)
Throws ServletException,IOException{
System.out.println(“post”);
}
A get
B post
C get Post
D post Get 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询