GWT javascript code is hosted inside a html page, so you can't write the doctype and head section.
What you could do though is write a servlet (or jsp etc) that generates the host page, giving you complete programatical control over the html document contents rather than using a static template. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.