On 18/03/2012 13:34, Neil Munro wrote:

<snip>

> As for moving my login and fail_login jsp to web-inf the pages could not be
> located and a had a go working in the web.xml file pointing to a path
> relative to /../web-inf/ or similar, I shall try again but I did try your
> suggestion and will try again just to ensure I didn't simply make a typo.

WEB-INF not web-inf.

This will work:

<!--  uses form-based authentication -->
<login-config>
        <auth-method>FORM</auth-method>
        <form-login-config>
                <form-login-page>/WEB-INF/x/login.jsp</form-login-page>
                <form-error-page>/WEB-INF/x/fail_login.jsp</form-error-page>
        </form-login-config>
</login-config>

Substitute the 'x' for the directory of your choice.


p



-- 

[key:62590808]

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to