Wendy Tan wrote: > Please help. > > 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?
Sounds like the correct content type is not getting set. IE hides many problems in web pages by guessing what's "meant to happen". Hiding errors is bad. You can add an Apache directive to get it to set the content type. Or set it in your root autohandler. Something like this: $r->content_type('text/html'); ...Off the top of my head.
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------- 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