wood burning stoves 2.0*
The moose likes JSP and the fly likes Urgent please -Security setting in Jsp Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "Urgent please -Security setting in Jsp" Watch "Urgent please -Security setting in Jsp" New topic
Author

Urgent please -Security setting in Jsp

vivek sivakumar
Ranch Hand

Joined: Aug 09, 2001
Posts: 187
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.
kavitha rama
Ranch Hand

Joined: Jun 18, 2003
Posts: 38
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.
Brian Boulay
Greenhorn

Joined: Jun 23, 2003
Posts: 1
Where are the gif's located? They may be in a secured directory.
Are you accessing the login.jsp, or are you requesting a secured resource, which initiates the challenge by WAS?


However beautiful the strategy, you should occasionally look at the results - Winston Churchill
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Urgent please -Security setting in Jsp