On 5/1/07, Wendy Tan <[EMAIL PROTECTED]> wrote:
> The autohandler has <html></html> tags and the component which returns
> HTML codes has <table></table> codes. When using firebox and opera, the
> page shows source code instead of normal nice web page. If I add <html>
> again in the component, then the page displays fine. I don't think this
> is a good fix because the source code ends up with mutiple <html> tags.
> Where do you think the problem is from? Mason, Apache or browser?

It is very likely that your pages are being returned with a missing or
invalid Content-type header.  IE is infamous for trying to guess
content type from page contents; other browsers are more careful about
this.  For an html document, the content type should be "text/html".

I find the Firefox plugin LiveHttpHeaders incredibly valuable for
diagnosing this sort of problem; you can watch the headers your pages
are returning and see immediately what's wrong.

http://livehttpheaders.mozdev.org/

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Mason-users mailing list
Mason-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-users

Reply via email to