File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes videos in tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "videos in tomcat" Watch "videos in tomcat" New topic

videos in tomcat

tempo van

Joined: Jan 20, 2012
Posts: 1
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

Joined: Jan 10, 2002
Posts: 63838

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.

[Asking smart questions] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: videos in tomcat
It's not a secret anymore!