假设本地服务器Tomcat(端口号8080)中名为helloapp的Web应用有一HelloServlet类,它位于cn.edu.cdut包下,它在web.xml文件中的配置如下: HelloServlet cn.edu.cdut.HelloServlet HelloServlet /hello 那么在浏览器端访问HelloServlet的URL是( )
A. http://localhost:8080/hello
B. http://localhost:8080/helloapp/HelloServlet
C. http://localhost:8080/helloapp/cn/edu/cdut/hello
D. http://localhost:8080/helloapp/hello
查看答案
在JSP中,______ 指令用于将文件嵌入JSP页面。
在servlet中获取会话对象的方法是______ 。
request对象的getParameter方法的功能是______ 。
application对象是______ ,而session对象则是______ 。