How to update image files in web pages generated by servlet without redeploying

HI,
I have a servlet which generates html pages with images. Those images changes
as they are graph generated regularly. They are placed in s directory where the
application is deployed. It is necessary because I have made some security constraints
for the location of those files. However it seems that when I deploy my application
on WLS all files contained in the application directory are cached, and when for
ex. I delete some of them they are still appear in generated html pages. only
Redeployment of application updates the state of those files.
Is there a way to make the application to be aware of any changes in images files
and to load updated ones??
i would be interested in a situatioin like with default WLS servelt (DefaultWeb
Application) where any new files are seen as soon as they are placed in Default
WebApplication directory.
Is there a way to periodically redeploy application from CLI?
thx in advance
Michal

889096 wrote:
Hello!
In SQL Developer when we run htp package then we see the generated code in OWA Output, But how to invoke or show the webpage by Oracle tools/plsql program.
and
Without copying the code and save it to textfile.html and open it with browser.
I heard it is possible by configuring Apache server.
Please give me brief details, as i am beginner with ORACLE 10g
And
If you are using the htp package, you are presumably developing for an application server? Can the people who set that up not help you with your development environment?
Setup is too complicated to cover here. Check out the Oracle HTTP Server documentation on oracle's documentation pages.
Briefly, you need to install Oracle HTTP Server and then configure a data access desciptor to connect to your database.
How to see the generated code in "QUEST TOAD"? I am not able to see OWA output in TOADYou will have to ask this question in a Toad forum.

Similar Messages

  • When exporting files to web pages Aperture keeping losing files, so for instance, if I choose to export 600 images to a new web page, it might do 524 images but not the full 600. I've tried resetting Aperture, it's the latest version etc etc. Help please!

    If anyone can help me with this I would be seriously grateful.
    When exporting mutliple files to web pages Aperture keeping losing files, so for instance, if I choose to export 600 images to a new web page, it might make 524 pages but not the full 600. I've tried resetting Aperture and its persmission and am using the latest version of 3.
    I have 3600 images which I need to upload as sublfolders, each with their own URL and at the moment Aperture is dropping of anything from 1 to 90 images.
    This is critical as people need to see each and every on of these images online. So if a file has 600 photos in it, Aperture should make a URL with 600 full image pages. And this is what it's not doing. On small files, say 30 or so it seems to work well, it's when it gets to more than that the problem starts.
    I've used Aperture in the past under previous versions and not had this problem.
    Any help would be great.
    Thanks.
    Bob.

    Hi Jack,
    Thanks for responding (as it seems as though no one else has been able to provide any insight as of yet)! Not sure if you saw my recent post, but the version of Aperture on the 2008 MacBook has been upgraded to 3.1.2 (not sure how; I bought it in 2009, but only have OS X 10.5.8... which apparently can't house 3.1.2 of Aperture, but hey, like many other anomalies i'm encountering, I'm no longer surprised!). I am unable to upgrade it any further, as it warns me that my OS X does not fit the requirements. I exported the projects as libraries; however, like I posted before, apparently these are from too old of a version for the new Aperture (3.3.1) to handle and import.
    It's getting to the point where I'd almost pay to upgrade the OS X on my previous MacBook (10.5.8) to something newer in order to THEN update Aperture to a newer version; however, my previous MacBook simply cannot handle this (the specs are awful -- hence my decision to save up and upgrade to the newest MBP with Retina).
    I've spent hours upon hours transferring files, libraries as projects, previews, versions, even masters (though, apparently some of them aren't accessible?) with no luck. I've rebuilt the library and reprocessed everything. And this is all after having to return one MBP already since Aperture 3.3.1 is glitch-y as it is, and froze everything for having a "managed library". So, now that I know that I have to deal with a referenced library in Aperture... I just need to actually transfer my previous library to my new one (hopefully WITH adjustments since these are years worth of photos and work).
    Again, any help is appreciated. I've lost enough sleep, time, and vision health over this at this point.
    Also, I know Migration Assistant is an option, I was told that it wouldn't work properly anyway because of the different operating systems, and the potential for problems.

  • How can I get Safari 5.1.2 to automatically open pdf files on web pages by using Adobe Reader?

    Safari 5.1.2 always opens pdf files on web pages as a single frame and thus it will not print properly.  How can I get Safari to open all pdfs with Adobe Reader 10.1.1?

    Carolyn,
    Thanks for sending your suggestion on how to solve my problem.  Unfortunately, it did not work for me.  I trashed the file, quit and relaunched Safari, but the problem remained the same.  Although it did not work, I do appreciate that you took the time to try to help me.
    Thanks.

  • How to save an image from an web page?

    Hello everybody!
    I have a problem and I hope someone can help me :).
    I am trying to save/download an image from an web page to my computer. So given an URL which contains the image, I want to save this/write this image to disk. Here is my code:
    import java.net.*;
    import java.io.*;
    public class Test{
        public static void main(String[] args) throws Exception{
            Test test = new Test();
            test.readFile();
        public void readFile() throws Exception{
            InputStream inputStream = new URL("http://www.google.se/images/hp1.gif").openStream();
            InputStreamReader reader = new InputStreamReader(inputStream);
            BufferedReader buffReader = new BufferedReader(reader);
            BufferedWriter bw = new BufferedWriter(new FileWriter("savedImage.gif"));
            int x=0;
            while((x = buffReader.read()) != -1) {
                bw.write(x);
            bw.flush();
    }The code saves the image to disk, but unfortunately the image is distorted. Can anyone help me to solve this problem.
    Thanx in advance
    Best regards
    /TheMan

    thanx guys for your quick answers. I got i to work with the following code
    InputStream inputStream = new URL("http://www.google.se/images/hp1.gif").openStream();
            FileOutputStream fos = new FileOutputStream(new File("savedImage.gif"));
            int x=0;
            while((x = inputStream.read()) != -1) {
                fos.write(x);
            fos.flush();Again, thanx guys!

  • How do I correctly update images on my Gallery page in Adobe Muse 2011-2013?

    I am trying to update images on my Gallery page  at: www.glennmcfall.com. When I add new images those new images are not active. When I click on the thumbnail (when I use Preview Page in Browser) the slideshow image appears , when I click on that image a larger image or video should appear but doesn't. I noticed when an image is active an image of a hand appears when hovering over the art/photo/video but this hand does not appear when I am trying to access the largest image. What do I need to do to correct this? I am using Adobe Muse 2011-2013 version.

    Hi
    Can you provide steps to follow for replication ?
    I checked the site , but which thumbnails exactly shows this behavior etc ?
    Thanks,
    Sanjit

  • How to create Chart within a web page NOT as seperate page?

    Hi, I am using JCharts and am trying to figure out how (or if it is even possible) to create a chart and then place it in a web page. All the examples I've seen show you how to create a JPEG of the chart and then link to this image from your web page. Is it not possible to surround the JPEG chart with other HTML so that I can keep my web page logo and menu etc on the same page as the chart?
    I can't find any examples which show how to surround your images with HTML as JCharts creates a JPG file and returns that in the Http Response e.g. "ServletEncoderHelper.encodeJPEG13(axisChart, 1.0f, response);".
    My environment is Java 1.4.2, Struts and Tomcat 4.1.30.
    Is there a way of drawing charts directly into a web page rather than displaying them on a seperate page as an image file?
    many thanks in advance,
    James.

    Hi Hatton,
    in html, there exists an img-tag. this tag contains a parameter called src. And if you want to embedd an image in your html-page, you will put the source of the image you want to display to the src-parameter. The same with servlets or java server pages. For the browser it doesn't matter where the html comes from. it doesn't matter if it has to be generated by an servlet-container like tomcat. So you write a servlet, which will create an image and make it accessible to your servlet container and then insert an tag like
    <html>
    <body>
    <img src="http://yourdomain/servlet?param=value" width=aNumber height=aNumber>
    </body>
    </html>This can be done because servlets can be configured to response with images which can be created by java2d or something else...
    I hope, this will help you...

  • Why does my Safari 8.0.2 on Yosemite drop some image on html web pages ?

    Problem:
    Some images on the web(HTML) page not displayed. (images are dropped and displays as "?" marks)
    When I used OS X Mavericks, there was no problem.
    After updating OS X Mavericks to Yosemite, this problem has occur until now.
    I did do safe boot then something problems were fixed after removed Macafee.
    Question:
    How do I display all images on the web page without dropping them ?
    Environment:
    OS X 10.10.1 (Yosemite) updated from Mavericks
    Firewall: ON
    Stealth mode : ON
    Safari 8.0.2
    Mac book pro with Retina
    Removed Macafee All access ( it is not always compatible for Yosemite yet.)

    After update to Yosemite 10.10.2, Safari 8.0.2 was update to 8.0.3.
    Then this problem becomes to be much better.
    There are still some image dropped but Safari 8.03 is almost practical usage level now.
    By the way, I noticed that commercial message links on many web pages were often illegal SSL sites.
    It is not always perfect yet but new Safari 8.0.3 seems to defend us users from such illegal SSL links.
    There are wrong HTML descriptions problems on many web server sides.
    I can see some errors on the debug screen of Safari 8.0.3, I think this is good protection works by Safari 8.0.3.
    Especially Japanese newspaper sites have too many illegal SSL commercial message links.
    This situation should be solved by the web server programmers or managers.

  • How to center Text Box on Web Page? -- Web dev with Word 2013

    I'm trying to assist a user who wants to use Word 2013 for simple web page development.
    There are many tools but they want to use Word 2013.
    Actually have it working by saving the Word 2013 files as web pages... like index.htm, about.htm, etc.
    The problem is when we use the "Insert" tab in Word to create a "Text Box" or a "Shape" ...
    And align it centered on the page... it looks fine in Word but when we open it with a web browser the "Text Box" or "shape" are no longeer centered.
    We thought we had it fixed by making the "Text Box" Layout Options "In Line with Text" but again... looks fine in Word but not in a web browser.
    The question: How can we get a "Text Box" in Word 2013 to appear centered on a web page?
    thanks for any help.

    Hi:
    For webpage design, I would suggest customized form under develop tab on the Ribbon over insert object directly. I tested from my side, using customized form will lock the object position on the
    page.

  • How can I delete an old web page ??

    How can I delete an old web page ?? I have created a web page some time ago and now I want to delete it but i do not know how to do it: can anyone help me ?

    Delete the web page where it is published.
    If it is published to MobileMe, then you need to log into MobileMe and go to your iDisk or mount it on your desktop and then delete it from your Web/sites folder.
    If you have published to a server, then you'll need to download Cyberduck, Filezilla or Transmit - all dedicated ftp programmes to connect with your host/server and then delete your old files from the server.
    It really is not hard.

  • I can't see the images on a web page, instead of them I get an interrogation.

    I can't see the images on a web page, instead of them I get an interrogation.This is only one page, and none of the browsers can view your images, and this happened after updating the operating system to Yosemite.

    Safari > Preference > Advanced
    Checkmark the box for "Show Develop menu in menu bar".
    "Develop" menu will appear in the Safari menu bar
    Enable Images.
    Make sure that"Disable Images" is not enabled.

  • How do i Hyperlink to a web page from a java application?

    How do i Hyperlink to a web page from a java application using internet explorer as my default web browser?

    It's very simple.You can start any Application with the class Runtime. The command is an array consisting of the path of .exe and the file to be open.
    String [] cmd={path of IE+Filename.exe,"URL of your website"}
    try
    Runtime.getRuntime().exec(cmd);
    catch (Exception e)
    System.err.println(e.toString());
    }

  • How to add js files to sharepoint page using sharepoint designer

    how to add js files to sharepoint page using sharepoint designer

    Upload the files to your site collection into the site assets library or into the style library, depending on perference.
    Then you can include the JS files either in the master page, page tempalte or using web parts.

  • Content.css file in Web page composer

    Below are the styles I am using in a JSP file for Web page composer layout. Not  sure where to add the CSS file.
    Is it etc/wpceditor/css/runtime?
    How do I include it in my jsp? and Do I hve to restart portal after I upload the css file?
    table.wpc_3c_outertable
    tr.wpc_3c_outertable_row
    tr.wpc_hidden_row
    td.wpc_sdn_20_46_34_col1      
    td.wpc_sdn_20_46_34_col2        
    td.wpc_sdn_20_46_34_col11     
    td.wpc_sdn_20_46_34_col12     
    tr.wpc_sdn_20_46_34_col1_row
    td.wpc_sdn_20_46_34_col21     
    tr.wpc_sdn_20_46_34_col2_row
    table.wpc_3c_innertable  
    table.wpc_3c_innertable2 
    td.wpc_mainarticle1, td.wpc_footer      
    table.wpc_3c_outertable
    table.wpc_3c_innertable 
    table.wpc_3c_innertable2 
    td     { background-color: #FF9933; border: 1px solid #C0C0C0; }
    =====================
    will my layout work. If I add the following code to the content.css file?
    content.css
    table.wpc_3c_outertable, table.wpc_3c_innertable, table.wpc_3c_innertable2            
    tr.wpc_3c_outertable_row, tr.wpc_sdn_20_46_34_col1_row, tr.wpc_sdn_20_46_34_col2_row  { vertical-align: top; }
    td.wpc_sdn_20_46_34_col1
    td.wpc_sdn_20_46_34_col2
    td.wpc_sdn_20_46_34_col11
    td.wpc_sdn_20_46_34_col12     
    tr.wpc_hidden_row                     
    td.wpc_mainarticle1, td.wpc_footer      

    Vishal -
    First... we are all new to WPC!
    Second, no I don't think you need to create a new container.  I think that you just need to add the swf type as an allowed type for the container.
    So...
    Figure out which container you are trying to add the flash file to (as you mentioned, A1, A2, etc).
    Navigate to:
    Sys Admin --> Sys Config --> Knowledge Mgt --> Content Mgt --> WPC --> Containers.
    Edit the container you want to use.
    There will be a box named Allowed Mime Types.
    In here, select the "swf" mime type (make sure the check box is checked). Then Save.
    At my company, we had the WPC ramp up from SP12, and are now on SP13.
    I'm not sure what you get if the first time you had WPC is SP13, but for us I see two default A1 (and A2...B1..C4...etc) containers -- one that has "default" in the name and one that has "def" in the name.  From what I see, SP13 WPC uses the one with "def" in the name, not "default".  So, make sure you modify the one with "def" in the name.
    After you make this change, you should see "swf" in the list inside the container when you are editing a page.
    Is this clearer?  I wish I could attach a screenshot.

  • How to create progress bar in web page!!!

    Dear,
    I do not know how to create progress bar in web page?
    Please show me the way to solve it.
    Best regards,
    Huy

    God your lucky/lazy
    import java.awt.*;
    import java.awt.event.*;
    import java.applet.*;
    import javax.swing.*;
    import java.util.*;
    import java.io.*;
    public class ProgressBar extends Applet
      private boolean isStandalone = false;
      private int width;
      private int height;
      private double percentComplete;
      private double fundsTarget;
      private double fundsRaised;
      private Properties values;
      private String propertiesFile;
      private JPanel jPanel1 = new JPanel();
      private JProgressBar PB_FUNDS_PROGRESS = new JProgressBar();
      private GridLayout gridLayout1 = new GridLayout();
      private BorderLayout borderLayout1 = new BorderLayout();
      private JPanel jPanel2 = new JPanel();
      private JLabel jLabel1 = new JLabel();
      private JLabel jLabel2 = new JLabel();
      private JLabel jLabel3 = new JLabel();
      private GridBagLayout gridBagLayout1 = new GridBagLayout();
      private JPanel jPanel3 = new JPanel();
      private JLabel jLabel4 = new JLabel();
      //Construct the applet
      public ProgressBar()
      //Initialize the applet
      public void init()
        try
          jbInit();
        catch(Exception e)
          e.printStackTrace();
      //Component initialization
      private void jbInit()
      throws Exception
        fundsTarget = new Double( 100 ).doubleValue();
        fundsRaised = new Double( 50 ).doubleValue();
        PB_FUNDS_PROGRESS.setBackground(Color.green);
        PB_FUNDS_PROGRESS.setForeground(Color.red);
        this.setLayout(gridLayout1);
        jPanel1.setLayout(borderLayout1);
        jPanel2.setLayout(gridBagLayout1);
        jPanel1.setBackground(Color.white);
        jPanel2.setBackground(Color.white);
        jPanel3.setBackground(Color.white);
        jLabel2.setBackground(Color.white);
        jLabel1.setBackground(Color.white);
        jLabel3.setBackground(Color.white);
        jLabel4.setText(" ");
        jLabel1.setText(" ");
        jLabel2.setText(" ");
        jLabel3.setText(" ");
        this.setBackground(Color.white);
        this.add(jPanel1, null);
        jPanel1.add(PB_FUNDS_PROGRESS,  BorderLayout.CENTER);
        jPanel1.add(jPanel2, BorderLayout.SOUTH);
        jPanel2.add(jLabel2, new GridBagConstraints(1, 0, 1, 1, 0.0, 0.0,
         GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(5, 0, 5, 0), 0, 0));
        jPanel2.add(jLabel1, new GridBagConstraints(2, 0, 1, 1, 0.0, 0.0,
         GridBagConstraints.CENTER, GridBagConstraints.NONE, new Insets(5, 150, 5, 5), 0, 0));
        jPanel2.add(jLabel3, new GridBagConstraints(0, 0, 1, 1, 0.0, 0.0,
         GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(6, 5, 4, 150), 0, 0));
        jPanel1.add(jPanel3, BorderLayout.NORTH);
        jPanel3.add(jLabel4, null);
        propertiesFile = this.getCodeBase().getFile().replaceAll("%20", " ")+"funds.properties";
        System.out.println("Properties file at " + propertiesFile);
        values = new Properties();
        try
          values.load(new FileInputStream(propertiesFile));
          fundsTarget = new Double( values.getProperty("TARGET", "100").toString() ).doubleValue();
          fundsRaised = new Double( values.getProperty("RAISED", "50").toString() ).doubleValue();
          System.out.println("target: " + fundsTarget + " raised: " + fundsRaised);
        catch (IOException ioe)
          System.err.println(ioe.getMessage());
        percentComplete = (fundsRaised/fundsTarget)*100;
        System.out.println(percentComplete);
      //Start the applet
      public void start()
        PB_FUNDS_PROGRESS.setMaximum(new Double(fundsTarget).intValue());
        PB_FUNDS_PROGRESS.setMinimum(0);
        repaint();
      //Stop the applet
      public void stop()
      public void paint(Graphics g)
        Graphics2D g2 = (Graphics2D)g;
        PB_FUNDS_PROGRESS.setValue(new Double(fundsRaised).intValue());
        String percent = Double.toString(percentComplete).substring(0, 4);
        jLabel4.setText("Currently At " + percent + "%");
        jLabel1.setText("100%");
        jLabel2.setText("50%");
        jLabel3.setText("0%");
      //Destroy the applet
      public void destroy()
      public String getAppletInfo()
        return "Funds progress applet by A really nice person";
    }

  • How to display flash file in adf pages

    how to display flash file in adf pages need help

    Thanks all,
    It is resolved.
    the code i am using to display a flash is below.
    <f:verbatim>
    <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
    codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version
    =10,0,0,0" width="300" height="300" id="11gR1_aniH_grey" align="middle">
    <param name="allowScriptAccess" value="sameDomain" />
    <param name="allowFullScreen" value="false" />
    <param name="wmode" value="transparent" />
    <param name="movie" value="mx2004demo.swf" />
    <param name="quality" value="high" />
    <param name="bgcolor" value="#4d5c64" />     
    <embed src="../Images/mx2004demo.swf" quality="high" width="300" height="300" name="mx2004demo.swf" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false"
    type="application/x-shockwave-flash" wmode="transparent"
    pluginspage="http://www.adobe.com/go/getflashplayer" />
         </object>
    </f:verbatim>

Maybe you are looking for

  • Can iPhoto and iTunes be used "remotely" on an external hard drive?

    For some years I've kept certain documents, photos and videos on an external hard drive as a security measure. The drive is attached via FireWire to my iMac. When using that material, if I want to add some details to a family history there's no probl

  • Generating an SWF using Javascript

    Has anyone had any success generating an swf using nothing but javascript. Is there a module or an API that I can tap into to accomplish this feat. Thank you for your time

  • Oracle Collections

    Hi, We have a requirement to build a procedure: The procedure should be capable of the following: I procedure will accept certain input parameters (Example: 4 Input parameteres). The input varables should be capable of holding more than one value. Th

  • Getting 34208 Events in IIS server after come out from Maintenance mode

    Hi Experts, We are monitoring .Net application(APM) in our environment(SCOM 2012 SP1).  We are putting all the servers in Maintenance mode on every sunday(Weekly Maintenance), after come out from MMode  getting 34208 events in OPSMGR Logs, particular

  • Skype-callto-handler problem

    Have anybody experienced this: $ skype-callto-handler echo123 ERROR: Failed to connect to DBUS daemon! . Any ideas how to solve it?