![](https://lstatic.shangxueba.com/sxbzda/h5/images/m_q_title.png)
useBean标准动作在创建Bean时默认的范围是()
A.session
B.page
C.application
D.request
![](https://lstatic.shangxueba.com/sxbzda/h5/images/tips_org.png)
A.session
B.page
C.application
D.request
第1题
其父类可能有( )
A、GenericServlet
B、ServletResponse
C、ServletRequest
D、HttpServlet
第2题
( )是一种可以在一个或者多个应用程序中重复使用的组件
A、JSP页面
B、Servlet
C、JavaBean
D、JSP标准动作
第3题
假设在helloapp应用中有一个hello.jsp,文件路径为C:/Tomcat/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
D、http://localhost:8080/helloapp/hello
第4题
( )对象可以处理JSP页面中运行的错误和异常
A、pageContent
B、Page
C、Session
D、exception
第5题
下列说法中正确的是( )
A、include指令通知容器将当前的JSP页面中内嵌的、在指定位置上的资源内容包含
B、include指令中file属性指定要包含的文件名
C、include指令只允许你包含动态页面
D、Taglib指令允许页面使用者自定义标签
第6题
在jsp页面声明中定义了一个方法,下列( )代码不能放入该方法中
public void test(HttpServletReqeust request)
{
}
A、HttpSession session =request.getSession();
B、String name=(String)request.getAttribute("name");
C、String name=(String)session.getAttibute("name");
D、request.sendRedirect(“index.jsp”);
第7题
HTTP协议中,请求消息使用( )方法用于通过Internet发送大量数据。
A、get
B、post
C、put
D、head
第9题
JSP EL表达式的语法为( )
A、!JSP expression
B、@{JSP expression}
C、${JSP expression}
D、#{JSP expression}
第10题
Model1实现MVC设计模式,其中的模型由( )来充当
A、JSP
B、JavaBean
C、Servlet
D、HTML
为了保护您的账号安全,请在“上学吧”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!