单项选择题在J2EE中,Servlet1的代码如下: importjavax.servlet.*; importjavax.servlet.http.*;importjava.io.*; publicclassServlet1extendsHttpServlet{ publicvoiddoGet(HttpServletRequestrequest,HttpServletResponseresponse)throwsServletException,IOException{ response.setContentType( text html );PrintWriterout=response.getWriter();Stringaa=request.getQueryString();Stringbb=request.getMethod();out.println(aa); out.println(bb);} } 把Servlet1.class文件放在Web服务器适合的目录下,在浏览B器地址栏内输入:http: localhost:8080 servlet Servlet1?name=jb-aptech&phone=12345678,看到的结果是()。
A.name=jb-aptech&phone=12345678GET
B.name=jb-aptech,phone=12345678GET
C.jb-aptech,12345678POST
D.name,phoneGET
E.2,POST