is a bean just a class in your project?
i'm having trouble getting a jsp app to work.
i made a class in the WEB-INF/classes dir.
it's a simple user class. username , email
in my jsp, i am calling it like this:
Code:
<jsp:useBean id="mybean" class="User" scope="session" />
<jsp:setProperty name="mybean" property="username" value="sde" />
<jsp:setProperty name="mybean" property="email" value="me@somewhere.com" />
i get an error that says: 'User mybean = null'
am i going about this the right way?