找考题网-背景图
单项选择题

A.B……

YouneedtocreateaJavaBeanobjectthatisusedonlywithinthecurrentJSPpage.ItmustNOTbeaccessibletoanyotherpageincludingthosethatthispagemightimport.WhichJSPstandardactioncanaccomplishthisgoal?()

A.<jsp:useBeanid=’pageBean’type=’com.example.MyBean’/>
B.<jsp:useBeanid=’pageBean’class=’com.example.MyBean’/>
C.<jsp:makeBeanid=’pageBean’type=’com.example.MyBean’/>
D.<jsp:makeBeanid=’pageBean’class=’com.example.MyBean’/>
热门试题