多选题关于Servlet/JSP的Session ID,()是正确。A预设使用Cookie来储存Session IDBCookie的名称是JSESSION IDC在禁用Cookie时,可以使用URL重写来发送Session IDD必须自行呼叫HttpSession的getId()方可产生

多选题
关于Servlet/JSP的Session ID,()是正确。
A

预设使用Cookie来储存Session ID

B

Cookie的名称是JSESSION ID

C

在禁用Cookie时,可以使用URL重写来发送Session ID

D

必须自行呼叫HttpSession的getId()方可产生


参考解析

解析: 暂无解析

相关考题:

Jsp内嵌对象session的类型为javax.servlet.http.HttpSession,下述语句会使该对象失效的是() A.session.dispose()B.session.clear()C.session.invalidate()D.session.removeAll()

servlet的生命周期;jsp与servlet的区别。

JSP 将数据交到Servlet 时,Servlet 出错,怎样保存 JSP 页面上的信息

J2EE应用系统支持5种不同类型的构件模型,包括( )。 A.Applet、JFC、JSP、Servlet、EJBB.JNDI、IIOP、RMI、EJB、JSP/ServletC.JDBC、EJB、JSP、Servlet、JCAD.Applet、Servlet、JSP、EJB、Application Client

如果不希望JSP网页支持Session,应该如何办?()A、调用HttpSession的invalidate()方法B、〈%@ page session="false" /〉C、〈%@ page session 〉D、〈jsp:useBean id= "user" class= "UserData" scope= "session" /〉

在J2EE中,在JSP中想要使用JavaBean:mypackage.mybean,则以下写法正确的是()。A、jsp:usebean id=”mybean” scop=”page” class=”mypackage.mybean”/ B、jsp:useBean class=”mypackage.mybean.class”/ C、jsp:usebean id=”mybean” class=”mypackage.mybean”/ D、jsp:useBean id=”mybean” class=”mypackage.mybean”/

关于JSP的说法正确的有()A、JSP在服务器端被执行B、JSP的最终存在形式是java applicationC、JSP 在客户端被执行D、JSP 的最终存在形式是servlet

以下描述JSP与Servlet的关系,正确的有()A、jsp最后会编译成servlet来执行B、MVC中Servlet做C、jsp做VC、Servlet在代码中输出htmlD、JSP和Servlet都是解释执行E、JSP是编译执行,而Servlet是解释执行

关于JSP和Servlet的描述正确的是() A、Jsp能够访问JavaAPI,具备Servlet的全部优点B、Jsp页面只能在接受请求时动态编译成serveltC、Jsp技术构建在Servlet上,它是支持HTML和XML页面制作的Servlet技术的扩展D、访问jsp页面,需要预编译成Servlet

关于JSP的描述,哪个正确()。A、JSP是直译式的网页,与Servlet无关B、JSP会先转译为.java,然后编译为.class载入容器C、JSP会直接由容器动态生成Servlet实例,无需转译D、JSP是丢到浏览器端,由浏览器进行直译

关于Servlet/JSP的Session ID,()是正确。A、预设使用Cookie来储存Session IDB、Cookie的名称是JSESSION IDC、在禁用Cookie时,可以使用URL重写来发送Session IDD、必须自行呼叫HttpSession的getId()方可产生

MVC中的MVC分别用()、()、()表示。A、jsp;servlet;javabeanB、HTml;javabean;jspC、javabean;jsp;servletD、servlet;html;jsp

扩展标签使用的是下面的哪个包?()A、javax.servlet.jsp.tagext.*B、javax.servlet.jsp.*C、java.io.*D、javax.servlet.*

JSP是Servlet的升级版本,JSP出来后,Servlet也就退出了历史的舞台。

转发的功能是将用户对当前JSP页面或Servlet的请求转发给另一个JSP页面或Servlet。

Tomcat 6支持最新的()规范。A、servlet2.3 jsp2.0B、servlet2.5 jsp2.1C、servlet2.3 jsp2.1D、servlet2.5 jsp2.0

A session-scoped attribute is stored by a servlet, and then that servlet forwards to a JSP page. Which threejsp:useBean attributes must be used to access this attribute in the JSP page?()A、idB、nameC、beanD、typeE、scope

Your web application uses a simple architecture in which servlets handle requests and then forward to aJSP using a request dispatcher. You need to pass information calculated in the servlet to the JSP for view generation.This information must NOT be accessible to any other servlet,JSP or session in the webapp. Which two techniques can you use to accomplish this goal?()A、Add attributes to the session object.B、Add attributes on the request object.C、Add parameters to the request object.D、Use the pageContext object to add request attributes.E、Add parameters to the JSP’s URL when generating the request dispatcher.

多选题A session-scoped attribute is stored by a servlet, and then that servlet forwards to a JSP page. Which threejsp:useBean attributes must be used to access this attribute in the JSP page?()AidBnameCbeanDtypeEscope

多选题关于Servlet/JSP的Session ID,()是正确。A预设使用Cookie来储存Session IDBCookie的名称是JSESSION IDC在禁用Cookie时,可以使用URL重写来发送Session IDD必须自行呼叫HttpSession的getId()方可产生

判断题JSP是Servlet的升级版本,JSP出来后,Servlet也就退出了历史的舞台。A对B错

单选题要对主体内容进行操作的标记,必须继承的接口是()。Ajavax.Servlet.jsp.tagext. TagBjavax.Servlet.jsp.tagext.BodyTagCjavax.Servlet.jsp. TagD三个都必须

多选题关于JSP和Servlet的描述正确的是()AJsp能够访问JavaAPI,具备Servlet的全部优点BJsp页面只能在接受请求时动态编译成serveltCJsp技术构建在Servlet上,它是支持HTML和XML页面制作的Servlet技术的扩展D访问jsp页面,需要预编译成Servlet

单选题A session-scoped attribute, product, is stored by a servlet. That servlet then forwards to a JSP page. This attribute holds an instance of the com.Company.   Product class with a name property of “The Matrix” and price property of 39.95. Given the JSP page code snippet: What is the response output of this JSP page code snippet? ()A  Default costs 0.0B  Default costs 49.95C  Default costs 39.95D  The Matrix costs 0.0E  The Matrix costs 49.95F  The Matrix costs 39.95

单选题JSP内嵌对象session的类型为javax.servlet.http.HttpSession,下述语句会使该对象失效的是()。Asession.dispose();Bsession.clear();Csession.invalidate();Dsession.removeAll();

单选题如果不希望JSP网页支持Session,应该如何办?()A调用HttpSession的invalidate()方法B〈%@ page session=false /〉C〈%@ page session 〉D〈jsp:useBean id= user class= UserData scope= session /〉

多选题Your web application uses a simple architecture in which servlets handle requests and then forward to aJSP using a request dispatcher. You need to pass information calculated in the servlet to the JSP for view generation.This information must NOT be accessible to any other servlet,JSP or session in the webapp. Which two techniques can you use to accomplish this goal?()AAdd attributes to the session object.BAdd attributes on the request object.CAdd parameters to the request object.DUse the pageContext object to add request attributes.EAdd parameters to the JSP’s URL when generating the request dispatcher.

单选题Your web application uses a simple architecture in which servlets handle requests and then forward to aJSP using a request dispatcher. You need to pass information calculated by the servlet to the JSP;furthermore, that JSP uses a custom tag and must also process this information. This information mustNOT be accessible to any other servlet, JSP or session in the webapp. How can you accomplish this goal?()AStore the data in a public instance variable in the servlet.BAdd an attribute to the request object before using the request dispatcher.CAdd an attribute to the context object before using the request dispatcher.DThis CANNOT be done as the tag handler has no means to extract this data.