salve a tutti....
devo visualizzare in una gallery flash delle foto che prelevo dal database!
la gallery funziona perfettamente con delle foto in una cartella e con relativo file xml con il nome della foto,ma n lmomento in cui creo io file xml dinamicamente,leggendo le foto dal db non va piu';
il codice del file xml dopo una pagina JSP ha letto ha letto due foto,e ha scritto il file xml è:
dove visualizza.jsp è una JSP che prende l'id della foto e la stampa sullo stream di output.codice:<gallery base = " " background = "#FFFFFF" banner = "#000000" text = "#666666" link = "#666666"nalink = "#000000" vlink = "#7E273B" > <sitename>B-BRIGHT GALLERIA FOTOGRAFICA</sitename> <security><![CDATA[]]> </security> <banner font = "Helvetica" fontsize = "3" color = "#FF6600"> </banner> <thumbnail base ="../../../jsp/" font = "Helvetica" fontsize = "4" color = "#FF6600" border = "0" rows = "3" col = "5"> </thumbnail> <large base ="../../../jsp/" font = "Helvetica" fontsize = "3" color = "#FF6600" border = "0"> </large> <images id = "images"> <image path = <img src ="visualizza.jsp?id=104"/> width = "450" height = "337" thumbpath = "IMG_0171.jpg" thumbwidth = "40" thumbheight = "30"> <meta name = "title"><![CDATA[Bench fog]]></meta> <meta name="copyright"><![CDATA[Copyright 2005, The Chopping Block, Inc.]]></meta> <meta name="credits"><![CDATA[Matthew Richmond]]></meta> </image> <image path = <img src ="visualizza.jsp?id=87"/> width = "450" height = "337" thumbpath = "IMG_0171.jpg" thumbwidth = "40" thumbheight = "30"> <meta name = "title"><![CDATA[Bench fog]]></meta> <meta name="copyright"><![CDATA[Copyright 2005, The Chopping Block, Inc.]]></meta> <meta name="credits"><![CDATA[Matthew Richmond]]></meta> </image> </images> </gallery>
Sapete dirmi dove sbaglio??????
grazie

Rispondi quotando
