About Question enthuware.jwpv6.2.1169 :
Posted: Thu Jan 03, 2013 7:49 am
explanation says :
To pass the Student object, you should write:
<mytaglib:studentTag student='<%=student%>' />
but whatever is in the jsp expression goes to out.println(). so <%=student%> will evaluate to whatever the toString method of Student class returns . right ? shouldnt we have used
<mytaglib:studentTag student='${student}' />
To pass the Student object, you should write:
<mytaglib:studentTag student='<%=student%>' />
but whatever is in the jsp expression goes to out.println(). so <%=student%> will evaluate to whatever the toString method of Student class returns . right ? shouldnt we have used
<mytaglib:studentTag student='${student}' />