Skip to main content

Need some help in JSTL code

Please note these java.net forums are being decommissioned and use the new and improved forums at https://community.oracle.com/community/java.
No replies
umesh2988
Offline
Joined: 2012-02-22

<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>

<%@page import= "java.util.*" %>
<%@page import= "BeanClasses.UserLogin" %>
<%@page import= "NormalJavaClasses.UserLogin1"%>
<jsp:useBean id="obj" class="BeanClasses.UserLogin" >
<jsp:setProperty name="obj" property="*"/>
</jsp:useBean>
<c:if test="${(obj.password!= 'null') && (obj.userId!= 'null')}">
// Here which tag i must use so that i can call my normal java class i.e "UserLogin1".
</c:if>
As i have written my problem in bold letters plz help me in solving the problem...........