i have the following code

<%@ page import="java.sql.*,java.util.*,java.lang.*,users.*" %>
<jsp:useBean id="user" scope="session" class="users.uservalidity"/>


<%
try
{
        session=request.getSession(false); 
        String loginid=(String)session.getValue("username");
        user.setUserName(loginid);
        if(!(user.validateUser()))
        {
        response.sendRedirect("user.jsp");
%>
<%
        }
        else
        return ;
now if i want to access the loginid ina bean which checks whether the username is null 
or not how do i accomplish this
please help someone i am just a starter in this field

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to