在JSP页面中使用〈jsp:setProperty name="beanid" property="bean的属性" value="字符串" /〉格式给Long类型的Bean属性赋值,会调用哪个数据类型转换方法?()
A、Long.parseLong(String s)
B、Integer.parseInt(Stirng s)
C、Double.parseDouble(String s)
A、Long.parseLong(String s)
B、Integer.parseInt(Stirng s)
C、Double.parseDouble(String s)
A、在aa.jsp中使用<form method=post action="bb.jsp">把请求提交到bb.jsp B、在aa.jsp中使用<jsp:forward file="bb.jsp" />把页面重定向到bb.jsp C、在aa.jsp中使用<% response.sendRedirect("bb.jsp"); %>把页面重定向到bb.jsp D、在aa.jsp中使用<%@ include file="bb.jsp" %>包含页面bb.jsp E、在aa.jsp中使用<% config.getServletContext().getRequestDispatcher("/bb.jsp").forward(request,response); %>把页面重定向到bb.jsp
A、在aa.jsp中使用<jsp:forwardfile=”bb.jsp”>把页面跳转到bb.jsp C、在ss.jsp中使用
<%respones.sendredirect(“bb.jsp”);%>把页面重定向到bb.jsp D、在aa.jsp中使用%@include file=”bb.jsp”%包含页面bb.jsp E、在ss.jsp中使用<%config.getservletcontext().getrequestdispatcher(“/bb.jsp”).forward(request,response);%>
把页面重定向到bb.jsp%config.getservletcontext().getrequestdispatcher(“/bb.jsp”).forward(request,response);%>%respones.sendredirect(“bb.jsp”);%>jsp:forwardfile=”bb.jsp”>
A、该页面可以使用exception对象 B、该页面发生异常会转向error.jsp C、存在errorPage属性时,isErrorPage是必须的属性值且一定为false D、error.jsp页面一定要有isErrorPage属性且值为true
A、Jsp能够访问JavaAPI,具备Servlet的全部优点 B、Jsp页面只能在接受请求时动态编译成Servelt C、Jsp技术构建在Servlet上,它是支持HTML和XML页面制作的Servlet技术的扩展 D、访问jsp页面,需要预编译成Servlet