This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Urgent please -Security setting in Jsp

 
vivek sivakumar
Ranch Hand
Posts: 187
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
kavitha rama
Ranch Hand
Posts: 38
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic