<jsp:useBean id="bc" class="com.go.Credentials" scope="session"/>
<%
out.println( bc.getUserid());
%>
I want to access the methods in my bean class Credentials. When I am trying to do so, I am getting null. Why?
% out.println( bc.getUserid()); %> I want to access the methods in my bean class Cr" /> <% out.println( bc.getUserid()); %> I want to access the methods in my bean class Cr" /> <% out.println( bc.getUserid()); %> I want to access the methods in my bean class Cr"/>
<jsp:useBean id="bc" class="com.go.Credentials" scope="session"/>
<%
out.println( bc.getUserid());
%>
I want to access the methods in my bean class Credentials. When I am trying to do so, I am getting null. Why?
you get id value with
or If you want scriplets