Only if a context file does not exist for the application in the $CATALINA_HOME/conf/[enginename]/[hostname]/; in an individual file at /META-INF/context.xml inside the application files. If the web application is packaged as a WAR then /META-INF/context.xml will be copied to $CATALINA_HOME/conf/[enginename]/[hostname]/ and renamed to match the application's context path. Once this file exists, it will not be replaced if a new WAR with a newer /META-INF/context.xml is placed in the host's appBase.
Nazeer Ahammad wrote:
i'm new to Realm som please help me.
Nazeer Ahammad wrote:i'm trying to take credentials from db and if those are vaid then give home page otherwise give an error page. To achive this i'm using JAAS realms .