Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Displaying SWF/Flash files from database

Status
Not open for further replies.

mingus

Programmer
May 8, 2001
59
0
0
US
I have a pretty simple custom tag that displays a JPG which is stored in the database.

I tried to use the same method to get a SWF file but it fails to display.

Anybody have any clues?

The JPG tag looks like in file showImage.sjp

<%@ taglib uri=&quot;/p.tld&quot; prefix=&quot;p&quot; %><i:showImage request=&quot;<%=request%>&quot; response=&quot;<%=response%>&quot;> </i:
howImage>

Another JSP then says:

<img src=&quot;showImage.jsp?imageId=1000&type=thumbnail&quot;>

Works fine.

But trying to use the <embed> tag or object tag for SWF files and then the same method fails. Is there a trick in getting SWF files to display straight from a database?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top