Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Playing swf (flash files) into jsp

 
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a web application which runs on Websphere based on simple servlet jsp. I want to add some flash files to my pages. My graphics designer gave bunch of .mp3 files, swf file to play them and an html file wrapped around it. For swf to play mp3, they all should be in the same directory. One way of doing it is packing everything into ear file but ear file becomes TOO big. is there solving this problem by which I can keep swf and mp3 files in some physical directory on Server out side of Websphere deployment?

Thanks
Ashish
 
author
Posts: 3281
8
Mac OS X Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How big is too big? Are you getting memory problems?
 
Ashish Gauswami
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Actually those mp3 files are training programs. Currently with only two programs the ear size is becoming around 48MB. with all the programs in place it will very big. And also to add program everytime I will have to build and deploy new ear file.
 
Martijn Verburg
author
Posts: 3281
8
Mac OS X Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you not reference the external files from the servlet? E.g. Store the files on a location X outside of websphere and grab them at runtime (you'll have to make a call to the file system)
 
You may have just won ten million dollars! Or, maybe a tiny ad.
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic