I have a doubt in custom tags attribute values
Say I have like this in my jsp
....
<%
Dog d=new Dog();
d.setName("d1");
%>
<prefix1:tag1 dog=d>
can I not write like this.In HFSJ its mentioned that attribute values should be either Strings or expressions.Can anyone explain me why?
Say I have like this in my jsp
....
<%
Dog d=new Dog();
d.setName("d1");
%>
<prefix1:tag1 dog=d>
can I not write like this.In HFSJ its mentioned that attribute values should be either Strings or expressions.Can anyone explain me why?