Hello can anybody solve this please
m creating the object in the action class
public CgUsers getUserdetail(){
CgUsers user = userManager.getUser(id);
return user;
}
And m trying using that object in the jsp page
c:forEach items="${Userdetail}" var="user">
<ul>
<li><c:out value="${user.getLastName()}"/> </li>
</c:forEach>
If i try to get the output in the execute method of the action class m getting it rignt.. but m not getting it in the jsp page..
And its giving the error on the browser like
/WEB-INF/pages/search/profile.jsp(15,8) PWC6296: The function getLastName must be used with a prefix when a default namespace is not specified
can anybody sugest any solution thatĺl b greatful..