On Tue, 1 May 2007, Oliver Jeeves wrote: > 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.
Not always (as Jon Postel said "Be conservative in what you send, and liberal in what you receive"), but guessing content types is bad; it's been responsible for more than one security hole in Internet Explorer. :) --------------------------------------------------------------------- | Name: Tim Nelson | Because the Creator is, | | E-mail: [EMAIL PROTECTED] | I am | --------------------------------------------------------------------- ----BEGIN GEEK CODE BLOCK---- Version 3.12 GCS d+++ s+: a- C++$ U+++$ P+++$ L+++ E- W+ N+ w--- V- PE(+) Y+>++ PGP->+++ R(+) !tv b++ DI++++ D G+ e++>++++ h! y- -----END GEEK CODE BLOCK----- ------------------------------------------------------------------------- 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