This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
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 OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "JSP & Multimedia" Watch "JSP & Multimedia" New topic
Author

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,
Jimi.
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12809
    
    5
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.
Bill

------------------
author of:
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JSP & Multimedia