I figured it out. The style sheet just has to be in a directory that isn't locked down.
On Thu, Feb 5, 2009 at 5:57 PM, Scott <hacktori...@gmail.com> wrote: > Thanks, that seems to have fixed the immediate issue. However, when I put > the following in my login.jsp <head>, tomcat forwards me directly to the > contents of the css file for some reason. > > <LINK REL=StyleSheet HREF="/MyApp/css/bbs.css" TYPE="text/css"> > > In addition, the styles no longer format the login.jsp. > > Any idea what would cause this? Thanks. > > > On Wed, Feb 4, 2009 at 11:45 PM, Caldarale, Charles R < > chuck.caldar...@unisys.com> wrote: > >> > From: Scott [mailto:hacktori...@gmail.com] >> > Subject: Realm Issue >> > >> > Here is my app info: >> >> Where is your webapp deployed? Where is the <Context> element for the >> webapp (if it has one)? What's in its <Context> element (if it has one)? >> >> > <url-pattern>/MyApp/*</url-pattern> >> >> The <url-pattern> is relative to the webapp, not the host. You likely >> just want /* here. >> >> > <form-login-page>/MyApp/login.jsp</form-login-page> >> > <form-error-page>/MyApp/error.jsp</form-error-page> >> >> Same comment as above. >> >> You also need a <security-role> element. >> >> > server.xml >> >> Be aware that by placing the <Realm> in server.xml (where exactly?), it >> will likely be used for *all* webapps, including the Tomcat manager. If you >> only want the <Realm> to control a particular webapp, place the <Realm> >> inside that webapp's <Context> element. >> >> - Chuck >> >> >> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY >> MATERIAL and is thus for use only by the intended recipient. If you received >> this in error, please contact the sender and delete the e-mail and its >> attachments from all computers. >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org >> For additional commands, e-mail: users-h...@tomcat.apache.org >> >> > > > -- > Scott > www.HikeHaven.com > Never under estimate the wisdom of nature!!! > > > -- Scott www.HikeHaven.com Never under estimate the wisdom of nature!!!