Relative paths in JSP

Cantor, Scott cantor.2 at
Mon Apr 29 17:05:53 EDT 2019

On 4/29/19, 4:55 PM, "users on behalf of Richard Levenberg" <users-bounces at on behalf of richardl at> wrote:

> Where can I place the assets directory so that it will be read properly.

You can't with no absolute path, you have to prefix anything with getContextPath() to obtain the proper root prefix. But the files go in edit-webapp.

-- Scott

More information about the users mailing list