• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Urgent please -Security setting in Jsp

 
Ranch Hand
Posts: 187
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
reply
    Bookmark Topic Watch Topic
  • New Topic