(fwd) Re: Mosaic Problem

> > 	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