R rsw Unregistered / Unconfirmed GUEST, unregistred user! 1999-09-17 #1 htmldoc:=<img src="c:/bar.gif">'; Response.Content := HtmlDoc; 为什么不行?
C cytown Unregistered / Unconfirmed GUEST, unregistred user! 1999-09-17 #2 S := TMemoryStream.Create; S.LoadFromFile('test.jpg'); S.Position := 0; Response.ContentType := 'image/jpeg'; Response.ContentStream := S; Response.SendResponse;
S := TMemoryStream.Create; S.LoadFromFile('test.jpg'); S.Position := 0; Response.ContentType := 'image/jpeg'; Response.ContentStream := S; Response.SendResponse;
R rsw Unregistered / Unconfirmed GUEST, unregistred user! 1999-09-17 #3 我用cytown的方法可以输出图象了,但是不能输出文本了,该怎么做呢?
C cytown Unregistered / Unconfirmed GUEST, unregistred user! 1999-09-17 #4 Response.ContentType := 'image/jpeg'; //输出JPEG图象; Response.ContentType := 'image/gif'; //输出gif图象; Response.ContentType := 'html/text'; //输出文本;
Response.ContentType := 'image/jpeg'; //输出JPEG图象; Response.ContentType := 'image/gif'; //输出gif图象; Response.ContentType := 'html/text'; //输出文本;