• 2021-04-14
    http://localhost:8080/
  • ${param.name}
    本题目来自[网课答案]本页地址:https://www.wkda.cn/ask/ppooxozyoxxozo.html

    内容

    • 0

      对于名为helloweb的Web应用程序,<;url-pattern>;的定义为/helloServlet/hello/abc.jsp,那么测试页面abc.jsp用的URL为( ) A: http://localhost:8080/helloweb/helloServlet/hello/abc.jsp B: http://localhost:8080/helloweb/abc.jsp C: http://localhost:8080/helloweb/helloServlet/abc.jsp D: http://localhost:8080/helloweb/hello/abc.jsp

    • 1

      运行访问javaweb项目的路径可以是() A: http://localhost:8080/myweb/ B: http://localhost:8080/myweb/index.jsp C: http://www.baidu.com/myweb/ D: http://www.taobao.com/myweb/

    • 2

      【单选题】假设在helloapp应用工程中有一个HelloServlet类,它在web.xml文件中的配置如下: HelloServlet org.java.thinker.HelloServlet HelloServlet /hello 那么在浏览器端访问HelloServlet的URL是什么? () A. http://localhost:8080/HelloServlet B. http://localhost:8080/helloapp/HelloServlet C. http://localhost:8080/helloapp/org/javathinker/hello D. http://localhost:8080/helloapp/hello

    • 3

      在Servlet中使用语句“response.sendRedirect("test/main.jsp");”实现页面重定向时,如果当前Servlet位于为本机项目的test的子目录test中,则实际重定向的页面URL为( ) A: http://localhost:8080/main.jsp B: http://localhost:8080/test/main.jsp C: http://localhost:8080/test/test/main.jsp D: http://localhost:8080/test/test/test/main.jsp

    • 4

      JBOSS中间件默认管理地址是http://localhost:8080/()。