• Post Reply Bookmark Topic Watch Topic
  • New Topic

Playing swf (flash files) into jsp  RSS feed

 
Ashish Gauswami
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
 
Martijn Verburg
author
Bartender
Posts: 3275
5
Eclipse IDE Java Mac OS X
  • 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
Bartender
Posts: 3275
5
Eclipse IDE Java Mac OS X
  • 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)
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!