Win a copy of Java EE 8 High Performance this week in the Java/Jakarta EE forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Generate xhtml problem. Help!  RSS feed

Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello, everyone. I am a first time user here. I got a problem and hope I can find an answer here.
My servlet generates xhtml. When I test it, the browser treats it as html and can not show it properly. To show it properly the browser needs to invoke a browser plugin (Internet Explorer with MathPlayer plugin to show MathML). Obviously the browser does not invoke the plugin. When I save the generated output as a static file with xhtml extension, the browser shows the MATHML(math formulas) part correctly. I can not set ContentType to "text/xhtml" as there is no such MIME type.
Is there a workaround for this? Thanks for any idea?
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!