If I understand the problem, <BASE href="http://yourServer/%ROOT%/"> is
what you need in your main frameset document.

Rod McChesney, Korobra

Heiko Grussbach wrote:
>
> Hi,
>
> I have the following problem:
>
> if a client accesses my site for the first time, he is automatically send
> the file %ROOT%/a/b/index.html, where %ROOT% is a fixed path. I just read
> the file from the disk and send the bytes to the responses outputstream.
> Now, the index.html contains a frameset with references like top.html,
> bottom.html. This of course really means /a/b/top.html and
> /a/b/bottom.html.
> So, index.html gets send to the client OK, but the next requests I get are
> for top.html and bottom.html. Thus, my servlet does not know, that it
> really has to use %ROOT%/a/b/top.html and %ROOT%/a/b/bottom.html.
>
> So, what I would like to have is that the request I get is for
> /a/b/top.html instead of just top.html.
>
> Does anybody know a solution to this problem?
>
> Regards&thanks
>
> Heiko Grussbach
> [EMAIL PROTECTED]
>
> ___________________________________________________________________________
> 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

___________________________________________________________________________
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