Only 44 hours left in the trailboss' kickstarter!

New rewards and stretch goals. CLICK HERE!



Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Generate xhtml problem. Help!  RSS feed

 
George Yin
Greenhorn
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!