File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

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>
- <login-config>
- <form-login-config>
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
We use oracle 9iAS and we are using basic authentication, so we define it as follows
<realm-name>MMRRC Project Site Access</realm- name>
I don't know whether we could use any gif's. Hope this helps you.
Brian Boulay

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
I agree. Here's the link:
subject: Urgent please -Security setting in Jsp
It's not a secret anymore!