Hi all,
I was trying out the following code.
here is the test.jsp:
and the code inside the servlet
Now I am getting a compiler error at line 06 of test.jsp i.e
<%=dept.getName()%>
why cant the scripting code access the iteration variable "dept"
whereas EL can access the iteration variable in the body of the tag?
Thanks
I was trying out the following code.
here is the test.jsp:
and the code inside the servlet
Now I am getting a compiler error at line 06 of test.jsp i.e
<%=dept.getName()%>
why cant the scripting code access the iteration variable "dept"
whereas EL can access the iteration variable in the body of the tag?
Thanks