W3C home > Mailing lists > Public > www-jigsaw@w3.org > July to August 1996

(fwd) Re: Mosaic Problem

From: HariharaVinayaka Ram <hvram@wipinfo.soft.net>
Date: Wed, 10 Jul 1996 16:01:01 +0500 (GMT+0500)
Message-Id: <9607101101.AA05944@rolex.rnd.blr>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 9 April 2012 12:13:25 GMT