给定某servlet程序的片段如下,用户在浏览器地址栏中键入正确的请求URL并回车后,在控制台上显示的结果是
publicvoiddoGet(HttpServletRequestrequest,HttpServletResponseresponse)throwsServletEx...
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 展开
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 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询