This seems not to be an error in the blobURL tag. It's must be inside the file servlet.
Could you check which content type is send to the browser in fileservlet - see method 
writeToClient.
If this is correct please try to remove the new introduced cacheControl and 
Content-Disposition headers in the same method...
Maybe this is confusing your browser...

And please report wich browser do you use!

Cheers
Henner


> -----Ursprüngliche Nachricht-----
> Von: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] Im 
> Auftrag von Lázaro Miguel Fung
> Gesendet: Freitag, 10. September 2004 00:28
> An: Dziugas Baltrunas
> Cc: [EMAIL PROTECTED]
> Betreff: Re: [dbforms] <db:blobURL error opennig
> 
> 
> There is no servlet error, only that in dbforms 1.3 the popup 
> opened with the image, and in 2.5 is like you try to download 
> and try to save the image.
> 
> This is the code relative to this case:
> 
> <%@ taglib uri="/WEB-INF/dbforms.tld" prefix="db" %>
> <html xmlns:db="http://www.wap-force.com/dbforms";>
> <head>
> <db:base/>
> <title>Single</title>
> <link href="dbforms.css" rel="stylesheet"/>
> <SCRIPT>
> <!--
> function openWin(s) {
> window.open(s,"littlewin","width=450,height=350,resizable=yes");
> }
> -->
> </SCRIPT>
> </head>
> <body>
> <db:dbform multipart="true" autoUpdate="false" 
> followUp="/table_single.jsp" maxRows="1" tableName="table" > 
> ... <a href="javascript:openWin('<db:blobURL  
> fieldName="logo"/>')">  <img src="<db:blobURL 
> fieldName="logo" defaultValue="spacer.gif"/>" border="0" 
> width="60"  height="60" alt="(click to see full size)"> </a> 
> ... </dbforms> </body>
> 
> Sorry the delay, I have problems to check my email.
> 
> LFung
> 
> ----- Original Message ----- 
> From: "Dziugas Baltrunas" <[EMAIL PROTECTED]>
> To: "Lázaro Miguel Fung" <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>
> Sent: Tuesday, September 07, 2004 11:32 PM
> Subject: Re: [dbforms] <db:blobURL error opennig
> 
> 
> Hi,
> 
> could you please provide an error (servlet exception or 
> similar) while trying to open the URL generated by blobURL tag?
> 
> regards,
> Dziugas Baltrunas
> 
> Lázaro Miguel Fung wrote:
> > Hi.
> >
> > I'm testing dbforms 2.5 snapshot and I trying to open a popup 
> > (openWin()
> > javascript) or new window (target="_blank") using <db:blobURL
> > fieldName="fieldName"/> with diskblob fields.
> >
> > No image or file are opened, however teh images are 
> siplayed without 
> > problems in the normal page_single.jsp or page_list.jsp
> >
> >
> > Any ideas or solutions
> >
> >
> > TIA
> >
> > LFung
> >
> >
> >
> >
> > -------------------------------------------------------
> > This SF.Net email is sponsored by BEA Weblogic Workshop
> > FREE Java Enterprise J2EE developer tools!
> > Get your free copy of BEA WebLogic Workshop 8.1 today. 
> > http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
> > _______________________________________________
> > DbForms Mailing List
> >
> > http://www.wap-force.net/dbforms
> >
> >
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by BEA Weblogic Workshop
> FREE Java Enterprise J2EE developer tools!
> Get your free copy of BEA WebLogic Workshop 8.1 today. 
> http://ads.osdn.com/?ad_idP47&alloc_id808&op=ick
> _______________________________________________
> DbForms Mailing List
> 
> http://www.wap-force.net/dbforms
> 
> 
> 
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one 
> of 170 Project Admins to receive an Apple iPod Mini FREE for 
> your judgement on who ports your project to Linux PPC the 
> best. Sponsored by IBM. 
> Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php 
> _______________________________________________
> DbForms Mailing List
> 
> http://www.wap-force.net/dbforms
> 




-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
_______________________________________________
DbForms Mailing List

http://www.wap-force.net/dbforms

Reply via email to