在Java EE中,如果req是HttpServletRequest的实例,要通过req获取已经存在的HttpSession对象,如果不存在就创建一个HttpSession对象,下面选项中()可以实现。A、 req.getSession()B、 req.getSession(false)C、 req.getSession(true)D、 req.createSession()
在Java EE中,如果req是HttpServletRequest的实例,要通过req获取已经存在的HttpSession对象,如果不存在就创建一个HttpSession对象,下面选项中()可以实现。
- A、 req.getSession()
- B、 req.getSession(false)
- C、 req.getSession(true)
- D、 req.createSession()
相关考题:
在J2EE中,在JavaBean中,事件操纵方法都被定义在一个监听者接口中,该接口继承了()。 A.java.event.EventObjectB.java.util.EventListenerC.java.event.EventListenerD.java.util.EventObject
以下关于J2EE平台技术的叙述中,错误的是______。A.J2EE平台采用多层次分布式的应用模式B.J2EE中EJB组件是客户端组件C.J2EE应用可以不基于WebD.J2EE组件使用Java编程语言编写
在J2EE中,在JavaBean中,事件操纵方法都被定义在一个监听者接口中,该接口继承了()。A、java.event.EventObjectB、java.util.EventListenerC、java.event.EventListenerD、java.util.EventObject
在J2EE中,对于我们自己设计的Bean,应该()。 A、一定要继承java.beans.Beans;B、一定要实Runnable接口C、一定要继承java.lang.Thead类D、可以不继承java.beans.Beans;
You want to create a valid directory structure for your Java EE web application, and you want to put yourweb application into a WAR file called MyApp.war. Which two are true about the WAR file?()A、At deploy time, Java EE containers add a directory called META-INF directly into the MyApp directory.B、At deploy time, Java EE containers add a file called MANIFEST.MF directly into the MyApp directory.C、It can instruct your Java EE container to verify, at deploy time, whether you have properly configured your application’s classes.D、At deploy time, Java EE containers add a directory call META-WAR directly into the MyApp directory.
Identify four features of WebLogic that provide value above and beyond a simple Java EE container.()A、Active GridLink for RACB、support for enterprise Web Services standards beyond Java EE specificationC、Integration with Enterprise ManagerD、market leading performanceE、Java EE6 Specification SupportF、Java SE 7 support
多选题Identify four features of WebLogic that provide value above and beyond a simple Java EE container.()AActive GridLink for RACBsupport for enterprise Web Services standards beyond Java EE specificationCIntegration with Enterprise ManagerDmarket leading performanceEJava EE6 Specification SupportFJava SE 7 support
多选题在Java EE中,如果req是HttpServletRequest的实例,要通过req获取已经存在的HttpSession对象,如果不存在就创建一个HttpSession对象,下面选项中()可以实现。Areq.getSession()Breq.getSession(false)Creq.getSession(true)Dreq.createSession()
多选题You want to create a valid directory structure for your Java EE web application, and you want to put yourweb application into a WAR file called MyApp.war. Which two are true about the WAR file?()AAt deploy time, Java EE containers add a directory called META-INF directly into the MyApp directory.BAt deploy time, Java EE containers add a file called MANIFEST.MF directly into the MyApp directory.CIt can instruct your Java EE container to verify, at deploy time, whether you have properly configured your application’s classes.DAt deploy time, Java EE containers add a directory call META-WAR directly into the MyApp directory.