How to use session in jsp
-
m unable to use the session in jsp, but able to verify the user and password here are the two three file 1. Index file, which has login its code is <%@ page language="java" import="java.util.*" %> <% String msgName=""; cf.usrCode=""; %> Aurum - Library Management System self.moveTo(0,0);self.resizeTo(screen.availWidth,screen.availHeight); function chkCode(){ var ti=document.login.usrName.value; if( ti==""){ document.login.usrName.focus(); alert('Enter Login Name....'); return (false); } }
-
m unable to use the session in jsp, but able to verify the user and password here are the two three file 1. Index file, which has login its code is <%@ page language="java" import="java.util.*" %> <% String msgName=""; cf.usrCode=""; %> Aurum - Library Management System self.moveTo(0,0);self.resizeTo(screen.availWidth,screen.availHeight); function chkCode(){ var ti=document.login.usrName.value; if( ti==""){ document.login.usrName.focus(); alert('Enter Login Name....'); return (false); } }
Please read the guidelines at the top of this page. Format your message so that it is readable; what you have posted here is far too difficult to read through. You also need to identify which part of your code is failing and what you expect should be happening at that point.
It's time for a new signature.