相关考题
-
单项选择题
从HTTP请求中,获得请求参数,应该调用哪个方法?()
A.调用Http Servlet Request对象的get Attribute()方法
B.调用Servlet Context对象的get Attribute()方法
C.调用Http Servlet Request对象的get Parameter()方法 -
单项选择题
假设在helloapp应用中有一个HelloServlet类,它位于org.javathinker包下,那么这个类的class文件应该放在什么目录下?()
A.helloapp/HelloServlet.class
B.helloapp/WEB-INF/HelloServlet.class
C.helloapp/WEB-INF/classes/HelloServlet.class
D.helloapp/WEB-INF/classes/org/javathinker/HelloServlet.class -
单项选择题
假设在helloapp应用中有一个hello.jsp,它的文件路径如下:%CATALINA_HOME%/webapps/helloapp/hello/hello.jsp那么在浏览器端访问hello.jsp的URL是什么?()
A.http://localhost:8080/hello.jsp
B.http://localhost:8080/helloapp/hello.jsp
C.http://localhost:8080/helloapp/hello/hello.jsp
