File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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: 13037
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:
I agree. Here's the link:
subject: JSP & Multimedia
It's not a secret anymore!