i was trying to execute jdbcrealms authotication using tomcat and oracle database. When i was running first time it is asking username and password, if i will provide valid user name and password i'm getting home. If i will run next time it is not asking username and password, directly it is giving home page,then i have taken below steps:
1)killing the session even though it not working.
2)i have given session time out in web.xml even though no use
3)i restarted server but no use .
please anyone solve my problem.
Below are the classes and configuration files i have used
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>