Monday, June 30, 2003 06:34 AM
Check in your web.xml, security configuration section, NOT to include the directory where your stylesheet exists.
If you include for example the directory where your stylesheet exists too ( let's say /styles/*) the following will happen:
A user calls your login page. Trying to call the style (which is in a secure area) will call your login page (for accessing the stylesheet file - of course not using it - don't forget it's not yet loaded) and after a successful login, it shows the file you asked to load - aka your stylesheet file!
Of course, out of the secure area you must have the login/relogin pages (trying to call the login page will cause the system to call the login page. After a successfull login, will continue loading the page you called, aka your login page!!)