• 2022-06-04 问题

    在JSP中想要使用JavaBean:mypackage.mybean,则以下写法正确的是() A: ”mybean”scope=”pageContext”class=”mypackage.mybean”/> B: <jsp:useBeanclass=”mypackage.mybean.class”/> C: ”mybean”class=”mypackage.mybean.java”> D: ”mybean”class=”mypackage.mybean”/>

    在JSP中想要使用JavaBean:mypackage.mybean,则以下写法正确的是() A: ”mybean”scope=”pageContext”class=”mypackage.mybean”/> B: <jsp:useBeanclass=”mypackage.mybean.class”/> C: ”mybean”class=”mypackage.mybean.java”> D: ”mybean”class=”mypackage.mybean”/>

  • 2022-06-04 问题

    在JSP中想要使用JavaBean:mypackage.mybean,则以下写法正确的是()(选择一项) A: <;jsp:usebeanid=”mybean”scope=”pageContext”class=”mypackage.mybean”/>; B: <;jsp:useBeanclass=”mypackage.mybean.class”/>; C: <;jsp:usebeanid=”mybean”class=”mypackage.mybean.java”>; D: <;jsp:useBeanid=”mybean”class=”mypackage.mybean”/>;

    在JSP中想要使用JavaBean:mypackage.mybean,则以下写法正确的是()(选择一项) A: <;jsp:usebeanid=”mybean”scope=”pageContext”class=”mypackage.mybean”/>; B: <;jsp:useBeanclass=”mypackage.mybean.class”/>; C: <;jsp:usebeanid=”mybean”class=”mypackage.mybean.java”>; D: <;jsp:useBeanid=”mybean”class=”mypackage.mybean”/>;

  • 2022-06-04 问题

    在J2EE中,在JSP中想要使用JavaBean:mypackage.mybean,则以下写法正确的是()。 未知类型:{'options': ['&#91;jsp:usebeanid=”mybean”scop=”page”class=”mypackage.mybean”/&#93;', '&#91;jsp:useBeanclass=”mypackage.mybean.class”/&#93;', '&#91;jsp:usebeanid=”mybean”class=”mypackage.mybean”/&#93;', '&#91;jsp:useBeanid=”mybean”class=”mypackage.mybean”/&#93;'], 'type': 102}

    在J2EE中,在JSP中想要使用JavaBean:mypackage.mybean,则以下写法正确的是()。 未知类型:{'options': ['&#91;jsp:usebeanid=”mybean”scop=”page”class=”mypackage.mybean”/&#93;', '&#91;jsp:useBeanclass=”mypackage.mybean.class”/&#93;', '&#91;jsp:usebeanid=”mybean”class=”mypackage.mybean”/&#93;', '&#91;jsp:useBeanid=”mybean”class=”mypackage.mybean”/&#93;'], 'type': 102}

  • 2022-06-07 问题

    【单选题】对于以下标签[br][/br]它与下列哪个选项中的Java程序片段等价 A: %CounterBean myBean=(CounterBean)request.getAttribute(“myBean”);if(myBean==null)myBean = new CounterBean();% B: %CounterBean myBean=(CounterBean)request.getAttribute(“myBean”);if(myBean==null){myBean = new CounterBean();request.setAttribute(“CounterBean”,myBean);}% C: %CounterBean myBean=(CounterBean)request.getAttribute(“myBean”);if(myBean==null){myBean = new CounterBean();request.setAttribute(“myBean”,myBean);}% D: %CounterBean myBean=new CounterBean();request.setAttribute(“myBean”,myBean);%

    【单选题】对于以下标签[br][/br]它与下列哪个选项中的Java程序片段等价 A: %CounterBean myBean=(CounterBean)request.getAttribute(“myBean”);if(myBean==null)myBean = new CounterBean();% B: %CounterBean myBean=(CounterBean)request.getAttribute(“myBean”);if(myBean==null){myBean = new CounterBean();request.setAttribute(“CounterBean”,myBean);}% C: %CounterBean myBean=(CounterBean)request.getAttribute(“myBean”);if(myBean==null){myBean = new CounterBean();request.setAttribute(“myBean”,myBean);}% D: %CounterBean myBean=new CounterBean();request.setAttribute(“myBean”,myBean);%

  • 2022-05-29 问题

    假设在Spring配置文件中有这样的配置信息<;bean id="foo" class="com.spring.Foo"/>;则要创建一个Spring Bean的正确用法是? A: MyBean myBean = (MyBean)factory.getBean("foo"); B: MyBean myBean = (MyBean)factory.getBean("com.spring.Foo"); C: MyBean myBean = (MyBean)factory.newBean("foo"); D: MyBean myBean = (MyBean)factory.newBean("com.spring.Foo");

    假设在Spring配置文件中有这样的配置信息<;bean id="foo" class="com.spring.Foo"/>;则要创建一个Spring Bean的正确用法是? A: MyBean myBean = (MyBean)factory.getBean("foo"); B: MyBean myBean = (MyBean)factory.getBean("com.spring.Foo"); C: MyBean myBean = (MyBean)factory.newBean("foo"); D: MyBean myBean = (MyBean)factory.newBean("com.spring.Foo");

  • 2022-06-04 问题

    在J2EE中,如果a是b的父类,b是c的父类,c是d的父类,它们都在包mypackage中。则以下正确的是() A:  <jsp:userbean id=”mybean” scope=”page” class=”mypackage.d” type=”b”>  B:  <jsp:userbean id=”mybean” scope=”page” class=”mypackage.d” type=”object”/>  C: <jsp:userbean id=”mybean” scope=”page” class=”mypackage.d” type=”mypackage.a”/>  D: <jsp:userbean id=”mybean” scope=”page” class=”mypackage.d” type=”a/”>

    在J2EE中,如果a是b的父类,b是c的父类,c是d的父类,它们都在包mypackage中。则以下正确的是() A:  <jsp:userbean id=”mybean” scope=”page” class=”mypackage.d” type=”b”>  B:  <jsp:userbean id=”mybean” scope=”page” class=”mypackage.d” type=”object”/>  C: <jsp:userbean id=”mybean” scope=”page” class=”mypackage.d” type=”mypackage.a”/>  D: <jsp:userbean id=”mybean” scope=”page” class=”mypackage.d” type=”a/”>

  • 2022-06-04 问题

    下面程序段中不正确的是( )。 A: package myPackage;public class A{} B: package myPackage; class B{ } C: package myPackage; import java.io.*; public class C{ } D: import java.awt.Color; package myPackage; class D{ }

    下面程序段中不正确的是( )。 A: package myPackage;public class A{} B: package myPackage; class B{ } C: package myPackage; import java.io.*; public class C{ } D: import java.awt.Color; package myPackage; class D{ }

  • 2022-05-27 问题

    在JSP页面中,()可以正确引入JavaBean。 A: <%jsp: useBean id =”myBean” scope =”page” class=”pkg.MyBean” %> B: <jsp: useBean name =”myBean” scope =”page” class=”pkg.MyBean” > C: <jsp: useBean id =”myBean” scope =”page” class=”pkg.MyBean” /> D: <jsp: useBean name =”myBean” scope =”page” class=”pkg.MyBean” />

    在JSP页面中,()可以正确引入JavaBean。 A: <%jsp: useBean id =”myBean” scope =”page” class=”pkg.MyBean” %> B: <jsp: useBean name =”myBean” scope =”page” class=”pkg.MyBean” > C: <jsp: useBean id =”myBean” scope =”page” class=”pkg.MyBean” /> D: <jsp: useBean name =”myBean” scope =”page” class=”pkg.MyBean” />

  • 2022-05-27 问题

    在JSP页面中,正确引入JavaBean的是() A: <%jsp: useBean id =”myBean” scope =”page” class=”pkg.MyBean” %>   B: <jsp: useBean name=”myBean” scope =”page” class=”pkg.MyBean” >   C: <jsp: useBean id =”myBean” scope =”page” class=”pkg.MyBean” />  D: <jsp: useBean name=”myBean” scope =”page” class=”pkg.MyBean” />

    在JSP页面中,正确引入JavaBean的是() A: <%jsp: useBean id =”myBean” scope =”page” class=”pkg.MyBean” %>   B: <jsp: useBean name=”myBean” scope =”page” class=”pkg.MyBean” >   C: <jsp: useBean id =”myBean” scope =”page” class=”pkg.MyBean” />  D: <jsp: useBean name=”myBean” scope =”page” class=”pkg.MyBean” />

  • 2022-06-04 问题

    创建一个名为MyPackage的包的语句是: A: importMyPackage; B: package MyPackage; C: package MyPackage.* D: importMyPackage.*;

    创建一个名为MyPackage的包的语句是: A: importMyPackage; B: package MyPackage; C: package MyPackage.* D: importMyPackage.*;

  • 1 2 3 4