Roman Sokolyuk wrote:
> Thank you very much for your time.
> This fixed the problem.
>
> I have only one question. How does the browser determine which parts of the
> URL to strip?
>
> On Fri, Jul 31, 2009 at 11:07 AM, André Warnier <[email protected]> wrote:
>
>
One way to handle the paths in jsps is to use something like
${pageContext.request.contextPath}/webapp_relative_path/to_my_resource.css.
The ${...} stuff is a JSTL expression evaluated at request time. The
net effect is a server relative path that can change as the webapp's
path changes. Very stable.
--David
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]