The value for the useBean class attribute DataObj is invalid.
Here is my JSP :
<jsp:useBean id = "data" class="DataObj" scope = "session" />
<jsp:setProperty name = "data" property="*" />
<html>
<body>.................
............................................................
Now DataObj is a class which contains getter setters and a blank constructor . Everything is public .
When From my first Jsp page I try to call the above pasted JSP I am given an Error stating " The value for the useBean class attribute DataObj is invalid. " .... If instead of DataObject I use something like java.util.Date then everything works fine but not for my class... I have the both the JSPs and the class ( u can call it servelet ) in the same folder. Please guide me if I am going wrong .....

