the below code is working fine on the JSP, this code is to check weather the userId is available in the session or not, if in session then display "change password" link in the header.
Now my problem is, i was asked to change this code into JSTL (by using <C:if kind of tags). can u help me
<%
UserSession userSession = (UserSession)request.getSe
ssion().ge
tAttribute
(Constants
.USER_SESS
ION);
IUserProfile userProfile = null;
if (userSession != null) {
userProfile = userSession.getUserProfile
();
if (userProfile!= null && userProfile.getUserId() != null) {
chkSessionFlag = true;
%>
<a href='changepassword.htm' class='loginhd'>Change Password</a> <% }} %>
Start Free Trial