[jboss-user] [Security & JAAS/JBoss] - Re: Problem with css files in login.jsp page

Wolfgang Knauf do-not-reply at jboss.com
Wed Jan 14 09:22:24 EST 2009

Hi Martin,

try this:
<link rel="stylesheet" type="text/css" href="<%=request.getContextPath()%>/login.css" />

Explanation: you call a page like "/restricted/mypage.jsp", which redirects you to the login page. But your browser still sees  "/restricted/mypage.jsp" (see address bar) and thinks that "login.css" is a relative URL in the "restricted" area.

Hope this helps


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4201799#4201799

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4201799

More information about the jboss-user mailing list