i modified my server.xml file as
server.xml
[code]
<Realm className="org.apache.catalina.realm.JDBCRealm"
debug="99" driverName="net.sourceforge.jtds.jdbc.Driver"
connectionURL="jdbc:jtds:sqlserver://DCSRV02:1433/REGISTRATION_TEMP_LTR_PRINT;username=sa;password=water"
connectionName="sa" connectionPassword="water"
userTable="login1" userNameCol="loginname" userCredCol="password"
userRoleTable="loginuser" roleNameCol="role"
/>
and my Login.jsp which has flash contents,input fields..
Login.jsp
[code]
<BODY bgcolor="#ffffff" onlod="GetUserMachineName();">
<FORM METHOD="POST" NAME="homeform" action="j_security_check">
<div ID=firstbar > </div>
<div ID=secondbar >
<label ID=welcomelabel >
Welcome To BankBoard </label>
</div>
<label ID=enterlabel >
Enter Your Login Information and click LogOn </label>
<label ID=system >System</label>
<input ID=inputsystem type="text" name="system"><BR>
<label ID=uname >User Name</label>
<input ID=inputuname type="text" name="j_username"><BR>
<label ID=password >Password</label>
<input ID=inputpassword type="password" name="j_password">
<input type="submit" value="LogOn" ID=logon onclck="homeFieldValidation();" >
</FORM>
Now on accessing
https://localhost:8443/BankBoard/ it has an achor tag that take to Login.jsp, on entering the credentials and clicking button LogOn it again shows the login page which is unformatted without flash contents input fields scattered with the link
https://localhost:8443/BankBoard/secure/welcomepage in address bar.
[ October 08, 2008: Message edited by: ruquia tabassum ]