This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "videos in tomcat" Watch "videos in tomcat" New topic
Author

videos in tomcat

tempo van
Greenhorn

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
Marshal

Joined: Jan 10, 2002
Posts: 60752
    
  65

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] [Bear's FrontMan] [About Bear] [Books by Bear]
 
Consider Paul's rocket mass heater.
 
subject: videos in tomcat
 
Similar Threads
Prevent intermediate access to any jsp page
Difference between apache tomcat and j2ee application server
DIGEST auth-method
Question on including file by directive
context configuration with Tomcat 5!