JSP files in the war

Cantor, Scott cantor.2 at osu.edu
Sun May 18 11:22:52 EDT 2014


On 5/18/14, 4:19 PM, "Rod Widdowson" <rdw at steadingsoftware.com> wrote:
>
>That I haven't done.  Leaving a jsp file at the top level does make it
>accessible, does putting it inside resources gain us anything?

Probably not, I just assumed we'd have to.

>I'm not yet sure why
>
>https://localhost/idp/shibboleth.jsp
> 
>is visible and
>
>https://localhost/idp/image.png
>
>isn't.  
>
>It isn't to do with the jsp view resolver (since I changed that to point
>back to WEB-INF).  Or is it?

No, anything you run directly from the client is being handled by the MVC
servlet, so I guess they handle JSPs (or we have that mapped somehow in
web.xml).

Anyway, if it works, that's fine.

-- Scott




More information about the dev mailing list