my dog learned polymorphism*
The moose likes Servlets and the fly likes JSP & Multimedia Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "JSP & Multimedia" Watch "JSP & Multimedia" New topic

JSP & Multimedia

Jimi Rock
Ranch Hand

Joined: Feb 19, 2001
Posts: 134
If I want to use JSP in a web-application project that uses Multimedia (Videos & Audios) that are stored in a database, can I do this without using an applet on the client side? and how?
in other words, can the Interface be an html file? if I must use an applet, what is the role that could be played by JSP to get its advantages in this case?
Note : This is an urgent question!
Thanks for all,
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 12761
If you can write a prototype HTML file that uses the multimedia resources, then you can write a JSP that will generate the correct HTML.
Remember, a JSP can only generate a single HTML page, The browser will request images, sounds, etc etc according to the links on that page. To serve up those images etc from the database you can use a servlet, not a JSP. JSPpages assume text output, not binary like an image.

author of:
Don't get me started about those stupid light bulbs.
subject: JSP & Multimedia
Similar Threads
Animated Gif's and serialization
JMF can't play media file in a jar file
Struts and Multimedia
applet in jsp
components extending beyond the area of the applet?