This has been answered multiple times. You can't reference a file directly that is stored under WEB-INF. You either need to put it under /cas (like index.jsp which is in the WAR) or map it via a controller.
This is also not a CAS question. I suggest you understand how Java-based web applications work and are deployed. Otherwise you'll encounter these problems with any web application you develop. On Wed, Jul 29, 2009 at 12:13 AM, Asiq <[email protected]> wrote: > Hi all, > Sorry for posting same mail over and over. > > I am CAS user. I want to customize CAS login page. I need to add new link > to the page say "FORGOT PASSWORD" link. > But that page is not getting mapped to specified location > > My file is at: > /WEB-INF/view/jsp/default/ui/casLoginView.jsp > > I tried > <a href="ForgotPassword">Forgot Password ?</a> > > Can any body help me how to map this file to that location. > What changes do i need to do in web.xml and cas-servlet.xml > > Is there any way to map it directly? > > Thanks > > > -- > You are currently subscribed to [email protected] as: > [email protected] > > To unsubscribe, change settings or access archives, see > http://www.ja-sig.org/wiki/display/JSG/cas-user > > -- You are currently subscribed to [email protected] as: [email protected] To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user
