• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

videos in tomcat

 
tempo van
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can anybody please tell me how to make video tag work in tomcat ? it
works in normal html file. But doesnt play from tomcat. mime settings
are proper.please help me
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65123
91
IntelliJ IDE Java jQuery Mac Mac OS X
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Since you mention Tomcat, I assume you are using servlets and JSP. Since each of these return HTML to the browser, video tags work just the same as they do in HTML because it's just HTML that's being returned in the response. If they're not working, it's because there's something wrong with the HTML being sent to the browser.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic