my login.jsp which has some gif files which are in root directory(above web-inf (access to all)) , when i try to access login.jsp file , then its displayed without any images(gif )on it , what should i do in order to get this right or what should i add more in this web.xml in order to display images correctly? OR is this is a specification issue ( no gifs allowed in login page if its used as form which undergoes authentication) this is the web.xml that im using - <welcome-file-list> <welcome-file>Home.jsp</welcome-file> <welcome-file>index.html</welcome-file> <welcome-file>index.htm</welcome-file> </welcome-file-list> - <login-config> <auth-method>FORM</auth-method> - <form-login-config> <form-login-page>/login.jsp</form-login-page> <form-error-page>/forgot.jsp</form-error-page> </form-login-config> </login-config> </web-app> Thanks in advance for ur help
SCJP, SCWD <br />A farmer learns more from a bad harvest than a good one.
Hi, We use oracle 9iAS and we are using basic authentication, so we define it as follows <login-config> <auth-method>Basic</auth-method> <realm-name>MMRRC Project Site Access</realm- name> </login-config> I don't know whether we could use any gif's. Hope this helps you.