You want to use a bean that is stored in com/enthu/GUI.ser file. Which of following statements correctly defines the tag that accesses the bean?
Select 1 correct option.
a <
jsp:useBean id="pref" name="com/enthu/GUI.ser" />
b <jsp:useBean id="pref" name="com.enthu.GUI" />
c <jsp:useBean id="pref" type="com/enthu/GUI.ser" />
d <jsp:useBean id="pref" beanName="com.enthu.GUI" type="com.enthu.GUI"/>
e <jsp:useBean id="pref" class="com.enthu.GUI.ser"
Which is the correct answer.???
Given answer is d. But i think its e.
Please give me suggestion.