- From: HariharaVinayaka Ram <hvram@wipinfo.soft.net>
- Date: Wed, 10 Jul 1996 16:01:01 +0500 (GMT+0500)
- To: www-jigsaw@w3.org
> > I tried to use :
> >
> > Reply reply = request.makeReply(request.getClient());
> > reply.setLocation("http://www.yahoo.com/index.html");
> > return reply;
> >
> > And I got a error message "Document contains no data".
> >
> > Any ideas how to make the status code not appear
> > Regards
> > - Hari
>
> I use this, and it seems to work (sort of):
>
>
> Reply reply = request.makeReply(HTTP.MOVED_TEMPORARILY);
> reply.setLocation(URL);
>
> HtmlGenerator g = new HtmlGenerator("Document moved");
> g.append("<h1>Document Moved</h1>"+
> "<p>This document has moved "+
> "<a href=\"" + URL +"\">here</a>.<p>");
> reply.setStream(g);
> return reply;
>
Hi,
I tried this. But I think the problem is with the Mosaic Browser on
various platforms. The one I have on my Linux machine seems to understand the
redirection, while the Mosaic I run on my Win95 machine does not understand
the redirection.
Thanks
Regards
- Hari
###############################################################################
Harihara Vinayakaram.N hvram@wipinfo.soft.net A monsoon
Senior Software Engineer is a
Wipro Infotech French gentleman
Bangalore
###############################################################################
Received on Wednesday, 10 July 1996 06:25:38 UTC