Uploading an image is not working in jsff

Hi.,
Am using jdeveloper 11.1.1.6.,
I have used the following link to upload the image in jsff
http://www.baigzeeshan.com/2010/08/uplaoding-and-downloading-images-in.html
This is workig perfectly in a jsps page but when i used jsff page am getting exception
    private BlobDomain createBlobDomain (UploadedFile file) throws IOException,
                                                                  SQLException {
        InputStream in = null;
        BlobDomain blobDomain = null;
        OutputStream out = null;
        try{
            in= file.getInputStream();    // am getting null pointer exception
            blobDomain = new BlobDomain();
            out = blobDomain.getBinaryOutputStream();
            byte[] buffer = new byte[8192];
            int bytesRead = 0;
            while ((bytesRead = in.read(buffer,0,8192))!= -1){
                out.write(buffer,0,bytesRead);
        catch (Exception e){
            e.printStackTrace();
        return blobDomain;
    }Pls help me to resolve this.,

Thank's for your response John.,
This is the log which am getting
java.lang.NullPointerException
     at view.imageServlet.doGet(imageServlet.java:53)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
     at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
     at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
     at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
     at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
     at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
     at java.security.AccessController.doPrivileged(Native Method)
     at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
     at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
     at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
     at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
     at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
     at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
     at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
     at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
     at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
     at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
     at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
     at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
     at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
     at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
     at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
     at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)This s the doget() method which i have used
    public void doGet(HttpServletRequest request,
                      HttpServletResponse response) throws ServletException,
                                                           IOException {
        response.setContentType(CONTENT_TYPE);
        String eno = request.getParameter("id");
        OutputStream os = response.getOutputStream();
        Connection con = null;
        try{
            Context ctx = new InitialContext();
            DataSource ds = (DataSource)ctx.lookup("java:comp/env/jdbc/UIConnDS");
            con = ds.getConnection();
            PreparedStatement stmt =  con.prepareStatement("SELECT eei_emp_id,eei_emp_image " +
                                      "FROM ess_emp_image " +
                                      "WHERE eei_emp_id = ?");
            stmt.setString(1, eno);
            ResultSet rs = stmt.executeQuery();
            if (rs.next()) {
                Blob blob = rs.getBlob("eei_emp_image");
                BufferedInputStream in =  new BufferedInputStream(blob.getBinaryStream());    //This is the part where exception is showing now.
                int b;
                byte[] buffer = new byte[10240];
                while ((b = in.read(buffer, 0, 10240)) != -1) {
                    os.write(buffer, 0, b);
                os.close();
                catch (Exception e){
                    e.printStackTrace();
        finally {
                    try {
                        if (con != null) {
                            con.close();
                    } catch (SQLException sqle) {
                        System.out.println("SQLException error");
        }

Similar Messages

  • Image capture not working in lion

    Well! After 10 years or so of OS X my Kodak DC 5000 no longer works in image capture after upgrading to OS X Lion. After connecting the camera and trying to import images, Image Capture says "no device connected".
    Went to the loca shop and using the same camera and cable, successfully imported picts to the desktop under Snow lepard, so I know it's not the camera or cable. Been a mac user for decades! never had a problem with "plug and play" until this update!
    Do I need to get a card reader now? New camera? Not happening as long as this one works(ed). Already lost Photoshop, but didn't mind as I bought Pixelmator. However, the Image Capture not working is a showstopper. Is this Apple's version of Vista? Help please!

    Yes, I have iPhoto 9.1.5, I also used the prefs and this still is not working. The upgrade to OS X Lion broke my driver and I am not able to do transfer any pics from the camera.
    I assume I will now need to buy a card reader.

  • Save Panel Image / Screen Image does not work as an Executable

    The Save Panel Image / Screen Image does not work as an Executable.  It looks like there is a conflict with the Path, since the Screen_Image.exe is launched as Screen_Image.vi.  I've tried this function both ways with the path name change Screen_Image.exe AND Screen_Image.vi.

    Any chance you might be able to post some code illustrating what you are talking about?
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • Module & Image Mgr. not working

    Below are the instructions for inserting a photo from the gallery. I have done it many times before. there is No image editor but a image manager - I did upload the images from my computer but it has no buttons to close it down, I have to refresh to close it.
    *The Module button (tab?below) does not respond. The temonology of the directions are not matcing my tool bar, there is no editor button but a image manager. The tool bar is not responding or working properly? Please help Thanks
    Insert the photo gallery in a page
    Open the page in editing mode by selecting Site Manager > Pages, and clicking the page in the tree view.
    Place the cursor in the content editor where you want to insert the photo gallery.
    *In the Modules tab of the Toolbox found on the right of the editor, select Photo Galleries.

    Yes, I have iPhoto 9.1.5, I also used the prefs and this still is not working. The upgrade to OS X Lion broke my driver and I am not able to do transfer any pics from the camera.
    I assume I will now need to buy a card reader.

  • Upload[flash plugin] button not working in few websites

    When I am trying to upload file using general upload feature in Elance.com its showing error that my flash player is not updated or not working.
    But the same is working properly when I am accessing elance.com in Internet Explorer, Chrome or Opera.
    Example :
    http://postimg.org/image/sxunooia1/
    http://postimg.org/image/r7bmn70qx/
    http://postimg.org/image/5tu6w3eyx/
    Thanks,
    Soumya

    Thanks for the replies.
    Yes I dont think that V 33 will solve my issue since its a longterm issue for me with Firefox.
    I am having this problem particularly with few websites. One of them is Elance.com.
    I get this error when I try to upload files in projects message section.
    Does flash work on other websites? : Absolutely fine. For this particular issue I have to use IE or chrome to upload my project files in Elance.com.
    Recently I noticed the same problem in Hightail.com. When the upload button never got highlighted while opened in Mozila but worked without any problem in IE or Chrome or Opera.
    Are you using antivirus software/firewall that could potentially block connections (you don't seem to be using any extensions that block javascript/ads). : Currently I have Microsoft Security Essential and Malwarebytes installed. And no third party firewall.
    Also, if it was a antivirus or firewall issue why the same problem not happening with Opera or Chrome since I didnt made any special changes in them for Mozila or chrome or Opera.
    As of the site permission is concerned, I have checked that and its in "Use default" selected.
    Hope this helps.

  • Image hyperlinks not working for internal menu pages

    Hi, I'm after some help with problems publishing my iweb site to an external folder. My website is www.gingham.com.au and I have uploaded it using Fetch.
    My main problem is with the menu bar - it's an image which i have then created hyperlinks over various headings to link back to the other pages in the site. This isn't working - any ideas on what I could check for?
    I also had an issue with the T_String error, i read a little about it but am very new to websites so deleted the first line of code as was listed in another post.
    Thanks for any feedback.

    I have had problems with link not working or they forget where they are supose dto link too.
    At one time I had a HP web page link appearing in the text box. Not sure why, I haven't visited the HP website for months.
    I just have to go top-down and reassign all the links, and do it a few times.
    I think the problem comes from when designing the website from teh start,if you are like me you will be adding and deleting elements and changing lots of stuff to make the site look the way you want.
    I think iWeb has problems with the deleting of objects, the more you change in a single session the more problems you will get.
    Now I quit iWeb on a regular basis, but now I have setttled for a style of my pages I will not be making big changes so iWeb should settle down for me.

  • Shared Components Images Create Image does not work

    I am using oracle XE on Windows XP.
    Uploading an image for an application does not work.
    Home>Application Builder>Application 105>Shared Components>Images>Create Image
    It goes wrong when I try to upload the image:
    - Iexplorer gives an error 404 after pressing the Upload button.
    - Firefox just gives an empty page.
    When I try to refresh the resulting page (do another post) I get the following error:
    Expecting p_company or wwv_flow_company cookie to contain security group id of application owner.
    Error ERR-7621 Could not determine workspace for application (:) on application accept.

    Hi Dietmar,
    After setting the language to English (USA) [en-us] it works for +- 50 % of the uploads.
    Below is my tracefile.
    Dump file e:\oraclexe\app\oracle\admin\xe\bdump\xe_s001_2340.trc
    Wed Nov 23 19:03:17 2005
    ORACLE V10.2.0.1.0 - Beta vsnsta=1
    vsnsql=14 vsnxtr=3
    Oracle Database 10g Express Edition Release 10.2.0.1.0 - Beta
    Windows XP Version V5.1 Service Pack 2
    CPU : 2 - type 586
    Process Affinity : 0x00000000
    Memory (Avail/Total): Ph:267M/1014M, Ph+PgF:1431M/2444M, VA:1578M/2047M
    Instance name: xe
    Redo thread mounted by this instance: 1
    Oracle process number: 15
    Windows thread id: 2340, image: ORACLE.EXE (S001)
    ------ cut ------
    *** 2005-11-23 19:50:44.718
    *** ACTION NAME:() 2005-11-23 19:50:44.718
    *** MODULE NAME:() 2005-11-23 19:50:44.718
    *** CLIENT ID:() 2005-11-23 19:50:44.718
    *** SESSION ID:(26.18) 2005-11-23 19:50:44.718
    Embedded PL/SQL Gateway: /htmldb/wwv_flow.accept HTTP-404 ORA-01846: not a valid day of the week
    *** SESSION ID:(27.19) 2005-11-23 19:50:51.937
    Embedded PL/SQL Gateway: /htmldb/wwv_flow.accept HTTP-404 ORA-01846: not a valid day of the week
    *** 2005-11-23 19:50:59.078
    *** SERVICE NAME:(SYS$USERS) 2005-11-23 19:50:59.078
    *** SESSION ID:(27.21) 2005-11-23 19:50:59.078
    Embedded PL/SQL Gateway: Unknown attribute 3
    Embedded PL/SQL Gateway: Unknown attribute 3
    Strange error... there is nothing in my form that is related to dates...
    Kind regards,
    Pieter

  • Dynamic image does not work in the template builder plug-in (Apex-BI Intgr)

    Hi all, I posted this problem in the BI Publisher topic but nobody responded maybe this is because mods thought this is an Apex-BI integration issue.
    If I'm in the wrong place, please do warn me.
    The documentation says:
    Direct Insertion
    Insert the jpg, gif, or png image directly in your template.
    ...This works obviously
    URL Reference
    1. Insert a dummy image in your template.
    2. In Microsoft Word's Format Picture dialog box select the Web tab. Enter the following syntax in the Alternative text region to reference the image URL:
    url:{'http://image location'}
    For example, enter: url:{'http://www.oracle.com/images/ora_log.gif'}
    ...This works too when I hardcode an url as url:{'http://www.google.com.tr/images/firefox/mobiledownload.png'}
    Element Reference from XML File
    1. Insert a dummy image in your template.
    2. In Microsoft Word's Format Picture dialog box select the Web tab. Enter the following syntax in the Alternative text region to reference the image URL:
    url:{IMAGE_LOCATION}
    where IMAGE_LOCATION is an element from your XML file that holds the full URL to the image.
    ...This, however, does not work.
    I use Apex' report query tool and My query is like
    select 'http://www.google.com.tr/images/firefox/mobiledownload.png' IMAGE_LOCATION from ... (a single result set for my template)
    the xml data is generated with an IMAGE_LOCATION tag. I load it to word template plug-in. The Url successfully displays in the report if I make it a plain-simple field.
    But when it's in the image format->web->alt text as url:{IMAGE_LOCATION} no image displayed.
    I need to keep this design procedure simple so a simple word user could design a report via using just template builder plug-in. I don't wish to explore the xsl-fo area...yet.
    Could you tell me why I can't get this url:{IMAGE_LOCATION} to work?
    Regards
    PS: My BI version: 10.1.3.4.1

    Hi Oeren,
    your steps seem basically to be correct. I have a tutorial how to do this here (in german)
    http://www.oracle.com/webfolder/technetwork/de/community/apex/tipps/pdf-dyn-images/index.html
    when you see the URL corrently as long as you have it as a plain text field, the XML tag and the
    referencing seem to be OK.
    Here are two thought - the issue might be one of these ...
    How did you insert the dummy image into the word document - did you do it via "insert" or
    via "link to file". "Link to File" does not work - you must choose the simple "insert".
    Another one: Does your BI Server have a connection to the internet - is the proxy server correctly set ..?
    Does this help ..?
    Regards
    -Carsten
    Cloud Computing mit APEX umsetzen. Jetzt!
    http://tinyurl.com/apexcloudde
    SQL und PL/SQL: Tipps, Tricks & Best Practice
    http://sql-plsql-de.blogspot.com

  • Client Listner is not working in jsff

    Hi All Experts,
    I have one requirement , for that i need to generate runtime table (getting coloumns and rows count at runtime). It is working and for that i am using arrayList to implement.
    I need to capture the changed values of textboxes which are that table , so i am using ClientListner And ServerListner
    my code is
    jsff code is
    <af:inputText value="#{party.value}" accessKey="#{tid.index}" id="id12" clientComponent="true" >
    <af:clientAttribute value="#{partyCount.index}" name="partyindex"/>
    <af:clientAttribute value="#{tid.index}" name="billcodeindex"/>
    <af:clientListener method="testFunc" type="valueChange"/>
    <af:serverListener type="testBBFunc" method="#{pageFlowScope.CaseMgmtBean.testBBFunc}"/>
    </af:inputText>
    and javascript code is
    function testFunc(event) {
    pindex= event.getSource().getProperty("partyindex");
    billindex=event.getSource().getProperty("billcodeindex");
    AdfCustomEvent.queue(event.getSource(),"testBBFunc",{newval:event.getNewValue(),billcodeindex:(billindex-1),partyindex:pindex},false);
    but i dont know why it is not calling the listners ,
    Please help
    Edited by: $achin on Feb 12, 2013 7:25 AM

    my code is
    <af:forEach var="count" varStatus="partyCount" items="#{pageFlowScope.CaseMgmtBean.partyCountList}">
    <af:table id="Parttable" rows="1" width="100%" contentDelivery="immediate" autoHeightRows="0"
    horizontalGridVisible="false" verticalGridVisible="false"
    inlineStyle="height:29px;">
    <af:forEach var="party" varStatus="tid" items="#{pageFlowScope.CaseMgmtBean.partyArrayList}">
    <af:column sortProperty="" headerText="" id="c42">
    <f:facet name="header">
    <af:inputText value="#{party.value}" accessKey="#{tid.index}" id="id12" clientComponent="true" autoSubmit="true">
    <af:clientAttribute value="#{partyCount.index}" name="partyindex" />
    <af:clientAttribute value="#{tid.index}" name="billcodeindex"/>
    <af:clientListener method="testFunc" type="valueChange" />
    <af:serverListener type="testBBFunc" method="#{pageFlowScope.CaseMgmtBean.testBBFunc}"/>
    </af:inputText>
    </f:facet>
    </af:column>
    </af:forEach>
    </af:table>
    </af:forEach>
    this is not working ,
    I have done POC with BackingBean as a scope and working fine in it.
    is the problem is with scope

  • Image Map not working in Dreamweaver CC

    I'm trying to create an image map over a jpeg but when I try to draw a rectangle over the image, a grey stroke gets placed over the image then moves with the cursor.
    Here is the only code on the page. Any ideas as to why this isn't working?
    <img src="/SampleImage.jpg" alt="" width="900" height="2779" style="margin: 5px; width: 649px; height: 2000px;"/>

    Let me see if I have this right...
    1. From Design View, you are clicking your image to select it
    2. You are then selecting the Rectangle tool from the bottom left of the Properties window
    3. You are then clicking and dragging on the image in Design View to create your map area
    4. DW puts a grey line around the image and moves it instead of adding the image map and area tags?
    Run your page for code errors at http://validator.w3.org. I can't duplicate what you describe and DW will do strange things when code errors are present, it could be an error DW doesn't know how to fix that's causing the normal image map functionality to fail.
    If you have clean code and are doing what I list above and it's still not working, it may be time to clear the program cache:Deleting a corrupted cache file

  • Image hyperlink not working in iphone mail

    Hello,
    I have created an HTML email and have sent it using Outlook from a Windows PC. The HTML email contains a JPEG that has a hyperlink assigned to it. When I check my email on my iphone and touch the JPEG, it wants to download the image, but does not click to the URL. An Android phone works fine. Any suggestions as to why this is happening?
    Here's a snippet of the code involved:
    <td><a href="http://www.ecallis.com/Proofs/ProEnergy/powergen_2012_invitation/index.html" target="_blank"><img src="images/videostillscreen2.jpg" width="320" height="193" border="0" /></a></td>
    Thanks,
    Linda

    I discovered this only happens in the iPhone email app when using embedded images. If the images are embedded the iPhone wants to save the image when you click on it. If the images are not embedded (i.e. somewhere on the internet) then the links work fine when clicking on the image. HTH

  • Image Processor Not Working

    Hi,
    I used the Image Processor feature to resize and save in a separate folder all the time in Bridge CS3. I recently upgraded to CS4 and I can't get the Image Processor to work. When I select the feature, it opens photoshop but nothing happens...it just opens the photoshop window but does nothing. Can anyone help? Does the feature not function in the same way for CS4? How do I properly use Image Processor in Bridge CS4? Thank  you!

    But all the
    files that are in my home directory (Snow Leopard 10.6.5) give that error.
    Do you have a beta of Snow Leopard, to my best knowledge 10.6.4 is the
    latest version??
    I'm going to format
    the drive on Monday and restore my system from Backup and see what that does.
    First try the uninstall CS5 suite using the uninstaller that is in each
    application folder. Also erase your serial number from computer and run the
    clean script:
    http://www.adobe.com/support/contact/cs5clean.html
    It is useless to reformat and after that reinstall from Back Up when you
    also re install the current preferences, highly likely you will end up with
    the same problem because you copied the old prefs again

  • Image Processor not working for me. Help!

    In a nearby thread I've reached a stumbling block. Image Processor in CS4's PS is not working for me. I have a folder of psd's generated on the fly via File > Export > Data Sets as File... and now I'm trying to process those psd's to generate a JPEG of each. The only strange characteristic of the auto-generated PSD files is that there is no image preview available within the Finder. When a psd is selected the preview pane reads:
    "This layered Photoshop file was not saved with a composite image"
    I've verified in my Preferences > File Handling that image previews are always saved. (But I've been using PS for a long time and previews are always available with all my manually saved work.)
    So here's what happens when I invoke File > Scripts > Image Processor...
    In section 1 of the menu I select the source folder where the psd files reside
    In section 2, I select 'Save in same location'
    In section 3, I select 'Save as JPEG'
    In section 4, I change nothing. No special actions. Include ICC profile is checked.
    When I select run I get an error message: "Sorry, I could not process the following files:"
    And then it lists what appears to be 3 lines per psd file in the source directory:
    The path to the source dir
    The name of the source dir
    The [source_dir]/[filename.psd]
    What am I doing wrong?

    mrdior wrote:
    I have a folder of psd's generated on the fly via File > Export > Data Sets as File... and now I'm trying to process those psd's to generate a JPEG of each. The only strange characteristic of the auto-generated PSD files is that there is no image preview available within the Finder. When a psd is selected the preview pane reads:
    The part I don't understand is the "export" Part. File > Export > Data Sets as File.. on my machine is grayed out so I don't know how this feature is used. Is Export > Data Sets as File... used with CSV data sets and Photoshop variables?
    Check your Photoshop preferences and make sure you have set in the file handling tab "Maximize PSD and PSB File Compatibility:" to Always using the pull down menu. If that is not your current setting try setting that to see if the exported PSD files contain composite previews. When I use save as PSD on my system I alway see Photoshop save through up a popup window stating generating composite preview image.

  • Uploading files to website not working with Safari in Windows 7

    Safari version: 5.1.7
    OS: Windows 7
    Hi,
    I am a website owner, and I have a feature on my site where users can upload large (up to 50MB) music files to my server. The feature works in Firefox on OSX & Windows platforms and it also works in Safari on OSX. The uploading feature is not working with Safari for Windows. Do you have any idea why and how to fix this? It can't be an issue with my server as it works in other browsers fine and works fine in Safari for OS X.
    If you have any information on how to solve this or things for me to try to rectify this for use with Windows operating system it would be much appreciated.
    Thanks.

    GREAT NEWS!!!!
    I have solved this issue myself with some help from my a user on Microsoft Forums. The issue stems from the mime type of each Browser Chrome, IE, & Safari for Windows defaults as audio/wav. When the mime type is changed to audio/x-wav everything works. Firefox defaults to audio/x-wav and when changed to audio/wav it DOES NOT work.
    Once I input some code in my .php upload page to change the mimetype if audio/wav is detected everything works GREAT!!!
    So Here is what you need to do: Find your upload page and input this code:
    echo "<p>MIME Type: ".$_FILES["file"]["type"]."</p>";   
    right before your "If/then" statement of file type. For me it was near line 30 in my upload.php page, but I'm sure this is different for everyone.
    This will detect and DISPLAY the default mime type of your browser on the error page when your upload doesn't work. Once you know what mime type works for your file type then you can change your "if/then" statement for mime type upload to change your mime type to the correct one.
    I don't want to give the code here, because I'm sure it's specific to your file types and your site construction, but this should lead you on the right track.
    ***This is the solution if you ARE NOT ABLE to upload any certain file in a certain Browser. It has to do with mime type construction***
    I hope this helps others like it helped me!!!!!

  • Image cache not working with Firefox and apex

    Hi,
    I'd like to cache all my images to save page rendering time and bandwidth because my images are all static and never change.
    I use the John Scott's caching technique Link: [http://jes.blogs.shellprompt.net/2007/05/18/apex-delivering-pages-in-3-seconds-or-less/], in a few words this technique consists of adding a header line "Expires: date in the future" in the http response.
    It works very well in IE, the images are cached and the same image can be accessed several times (within the same session or in different sessions) without issuing an http request to the server each time.
    with Firefox it does not work, the same image is asked again and again to the server (i'm using FF 3.5 and APEX 3.2).
    - Is it a date format problem? no, because when i type about:cache in FF, i can find my image in the cache with an expire date in the future.
    The weird thing here is that the counter is incremented each time u request the image, so FF knows it is in the cache and even if the expire date is in the future, FF asks it again to the server.
    - Is it a FF bug? If u read the http specs or if u google a little, u can come to the conclusion that FF does not follow the standards,
    but... images.google.com for example manages to get its images cached with FF.
    They use an http response header "cache-control: public, max-age=604800".
    I tried the same and all kinds of combinations but without success.
    When i compare my image with the one from google in the FF cache, they both have the same attributes.
    - It's not an apex issue neither because it works with IE, most probably an incompatibility between apex and FF?
    Maybe the use of cookie? or the http request (not the response) containing "cache-control: max-age=0"?
    I've found so far 2 half solutions:
    1) use ETag and modified date, see the Tyler Muth's note Link: [http://tylermuth.wordpress.com/2008/02/04/image-caching-in-plsql-applications/].
    with this technique FF continues to send request each time but the answer is shorter because it's just a "304 not modified" instead of "200 OK" (200 response is bigger as it contains the image).
    it's better than nothing but you still have 1 request + 1 response for nothing.
    Another problem is that you need SYS access to implement this, which is not possible on an hosted server. (note that for images from the file system it is already foreseen by apex 3.1, Tyler's note is for images from the db)
    2) if you preload the image (using myimage=new Image();myimage.src='...';), then there is max 1 request per browser session.
    There are 2 minor issues here:
    - no caching across sessions
    - if u don't want to preload all the images (example a page with lots of thumbnails, when user clicks it show a bigger image, in that case the thumbnails can be preloaded but overkill for the big images), then you need to load the image, wait until the image has loaded before displaying it, it does not slow down the execution, but requires some extra JS.
    I'm not asking anyone to investigate it, i can live with the 2 workarounds,
    but just in case someone encountered the same problem and already fixed it.
    Let me know if u managed to use the John Scott's technique with Firefox. (U can use Firebug to see the http traffic)
    Thx
    Tim

    Hi Anshul, hope these help. Let me know if you need to see anything else.
    Best,
    Menu Settings:
    Tab Hyperlink:
    Label Text with with hyper link option not available (works as a hyperlink in chrome and IE though):
    Thanks for the help in advance!

Maybe you are looking for