Hi everyone,
why is it necessary to have default constructor in bean classes if i'm using Expression language or
jsp standard tags.??
In my sevlet I'm calling parameterised constructor and if i don't use expression language then jsp page is working fine.
If I use directive like<@ page import="model.User"> And
If I retrieve User object from request using scriplet<%User user=request.getAttribute("user");%>
then it works fine.
If i use EL/jsp standard tag then If i don't use default constructor in m bean class even though i'm not invoking it
then i'm getting The value for the useBean class attribute "..." is invalid.
why??
thanks in advance