Yeah...I know it worked if I change the name to testGoogle.html. The thing is that I have to use xhtml for my application. I'm using beans at the back end also. So, I'm wondering if there's other solution other than using html extensions or <iframe>.
On Oct 24, 5:22 pm, Rossko <[EMAIL PROTECTED]> wrote: > > so are you suggesting that changing content type to application/xhtml > > +xml should work? > > No, I'm suggesting having that as mime content-type is a cause of your > problem. > > See the recommended <doctype> here - > http://code.google.com/apis/maps/documentation/index.html#XHTML_and_VML > which I think is what you are trying to achieve anyway. > > That is quite different from the mime content-type, which is set by > your server. > Pages served with a content-type of application/xhtml+xml quite often > break in javascript, when they try to execute a document.write(). See > - > http://ln.hixie.ch/?start=1091626816&count=1 > for an example. It's not a G-maps specific problem, but the API > includes document.write()s. > > More about mime types at > -http://devedge-temp.mozilla.org/viewsource/2003/mime-types/index_en.html > > As you probably won't be allowed to configure geocities server to > serve your file in a different way, you'l have to persuade it by some > other means. > > Change your filename from testGoogle.xhtml to testGoogle.html and see > if that does it? > > cheers, Ross K --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Maps-API?hl=en -~----------~----~----~----~------~----~------~--~---
