G
gk
i have a JSP page.
i want to check whether there is user exists in the session or not
String user=(String)session.getAttribute("user");
if(user==null)
go to "/login.jsp"
How could i do this in JSP ? how could i convert "go to "/login.jsp"
in JSP code ?
i want to check whether there is user exists in the session or not
String user=(String)session.getAttribute("user");
if(user==null)
go to "/login.jsp"
How could i do this in JSP ? how could i convert "go to "/login.jsp"
in JSP code ?