Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JSP & Multimedia

 
Jimi Rock
Ranch Hand
Posts: 134
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13055
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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:
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic