From: Alex Peterson

> I've got a problem with switching contexts, but first the basics:
>
> The first part of the URI is the application context, eg:
>
> http://tomcathost:8080/app/xxx/xxx
>
> '/app' can be mapped to any real path.
>
> I want to keep the archived data accessed by the application in a separate
> location and therefore in a different context, eg '/appdata'.
[snip]
> The output from the servlet (or jsp) to the browser is then effectively this
> index.html page. The PROBLEM is the hot links in this page, which are all
> relative.

Seems like you've stated the solution :).

Generate the index.html page with absolute links (presumably using a servlet)
and you're done - unless I missed something here.  So replace index.html with
index.jsp or index.shtml or ...

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to