How to prevent caching of URL?

Hello,
I have an application developed using Flex SDK 3.2 that calls a java servlet using navigateToURL. The servlet returns a generated PDF file, but after the first call the response is getting cached. I'm not sure if this a problem with Flex, Java or Tomcat. I have tried setting response parameters in the servlet (seHeader("Pragma","no-cache")) etc and tried a similar approach in the client - new URLRequestHeader("pragma", "no-cache");.
Anyway, no matter what I do I can't stop the caching and I;m hoping someone can help.
Thanks.
JJ

You can append the random number to the url something like this
var str:string = "http://someurl.com?rndm="+Math.random()*100

Similar Messages

  • How to prevent caching?

    the browser caches the information and so i have to do a refresh every once in a while to update the dynamically changing information.

    hello
    it kinda doesn't work
    you see, i have links sorted according to the number of hits.
    This is how it looks like for example
    Link1
    Link2
    Link3
    Link4
    now if lets say Link2 has 10 hits and Link3 has 9.
    If i click Link3, then the hits become 10 and if i click it again, it becomes 11.
    but it still looks like above when its supposed to be
    Link1
    Link3
    Link2
    Link4
    it doesn't show the right order until i refresh the page.
    and the thing is, if i don't refresh the page, then when i click Link3, it shows the url of link2....

  • How to prevent hard-coding url's

    Hi,
    I have an adobe air application, that makes use of a few php scripts on my server.
    I use many httpservice's and they all have urls like:
    http://myserver.com/scripta.php
    http://myserver.com/scriptb.php
    Obviously there are many issues doing this.
    So how would i go about preventing this? Just store them in one file?
    Could someone give me a very simple example of how to do this?
    Any advice or links to info/tutorials is greatly appreciated.
    Thanks.

    flexillu10 wrote:
      Seems like every component uses a http service. 
    I have a login script, a script that loads a tree component with xml data, a search script, a download script and a log out script.
    This screams bad practice to me, what am i missing?
    Sounds like you aren't using an MVC architecture. I usually have a model component that looks after the data used by the UI. UI components never request data remotely. They signal (via events) a controller to request that the user logs in. The controller will co-operate with the model, so that in effect the model aggregates remote data requests and updates the model data as data is retrieved. The UI is updated via binding and/or event notification.
    All my remote communication is controlled by one component taht packages up requests for the server and handles the response. Many people use more sophisticated and formalised MVC architectures such as PureMVC, cairngorm, .. etc.
    Five actions is nothing.
    Paul

  • How to prevent caching of Http Authentication

    Hello all,
    I'm having trouble with a custom wrapper for the URL object that I wrote which is to be run from a multi-threaded program. Basically what I have is an application server that interacts w/ native code through message queueing. As the application server gets a request from the queue it starts a thread that invokes my URL wrapper. My URL wrapper has code to set the authentication (userid/pwd) based on info given from the app server which is read from the queue. It all works fine until the credentials change (a new user/pwd). The credentials from the 1st request are used. I'm betting that even if I use my wrapper object single threaded it won't work because it doesn't seem to allow the credentials to change. The only way I know of setting the credentials is through the default authenticator and it doesn't seem like this object is subject to change.
    The following is a subset of my custom URL wrapper object:
    public class HttpRequestObject
         private URL urlObj = null;
         private StringBuffer urlString = new StringBuffer();
         private InputStream input = null;
         private URLConnection urlCon = null;
         public HttpRequestObject(String url)
              urlString.append(url.trim());
         private class HTTPAuthenticator extends java.net.Authenticator
              private String userid;
              private String password;
              public HTTPAuthenticator(String name, String pwd)
                   userid = name;
                   password = pwd;
              protected java.net.PasswordAuthentication getPasswordAuthentication()
                   return new java.net.PasswordAuthentication(userid,password.toCharArray());
         public boolean openConnection(String name, String pwd)
              java.net.Authenticator.setDefault(new HTTPAuthenticator(name,pwd));
              return this.openConnection();
         public boolean openConnection()
              try
                   urlObj = new URL(urlString.toString());
                   urlCon = urlObj.openConnection();
                   input = urlCon.getInputStream();
                   return true;
              catch(Exception e)
                   System.out.println(e.getMessage());
                   e.printStackTrace();
                   return false;
              finally
                   java.net.Authenticator.setDefault(new HTTPAuthenticator(" "," "));
    }I'm not comfortable with this design at all because it feels too disconnected. There appears to be too big a possibility of credentials being shared between threads where each thread should maintain its own set of credentials. Please help.
    Cliff

    Hallo,
    you have to ask for new username and password in your getPasswordAuthentication() or you have to set your new username and password in your getPasswordAuthentication. You don't have to use a new Authenticator object in order to authenticate a different user. That won't work.
    Take a look at this site, there you will see, how to create your own Authenticator: http://java.sun.com/features/2002/11/hilevel_network.html
    Hope this helps,
    Hobster

  • Adobe AIR - How to prevent caching?

    Hello,
    We use Adobe AIR as a one-site-browser for our users.
    which means that all of the content and data reside in our server and all they have, installed on their PC, is an iframe.
    From time to time we encounter issues with users who can't get our application working, or get an older version of our pages.
    What we saw after investigation is that the pages are being cached and stored in the Temporary Internet Files folder (where IE keeps its cache).
    When the user try to clear the Browsing History from inside IE it does not clear our pages from the cache, only manual delete works.
    We tried to add the following meta to our pages with no success:
    <META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE">
    <META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE">
    The manual deletion is not a solution, is there a way to make Adobe AIR not to save our pages (.html and .js files) in the cache?
    Please Advice,
    Uri

    Hello Jeff,
    Thank you for your quick respond.
    I'm not sure how can I implement what you've suggested.
    As I mentioned on my original post, I use Adobe AIR as a "gateway" to a special area in our website.
    Which means basically that all that there is in the AIR application is an iframe.
    I don't know how can I implement the cacheResponse and useCache properties if all I have is an iframe.
    Please help,
    Uri

  • How to prevent the Firefox cache from clearing -- all settings are right, but the cache is gone after each restart.

    I want to prevent cache from being deleted after each restart. "Clear history when Firefox closes" is unchecked. User.js files are deleted. Checking "Override automatic cache management" made Cache folder appear in addition to Cache2. After exiting Cache is still there, but upon Firefox re-launching, Cache turns into Cache.Trash and promptly disappears. What to do?

    Hello,
    I'm sorry to hear that. Can you please try these solution to address your concern.
    Certain Firefox problems can be solved by performing a ''Clean reinstall''. This means you remove Firefox program files and then reinstall Firefox. Please follow these steps:
    '''Note:''' You might want to print these steps or view them in another browser.
    #Download the latest Desktop version of Firefox from [https://www.mozilla.org mozilla.org] (or choose the download for your operating system and language from [https://www.mozilla.org/firefox/all/ this page]) and save the setup file to your computer.
    #After the download finishes, close all Firefox windows (or open the Firefox menu [[Image:New Fx Menu]] and click the close button [[Image:Close 29]]).
    #Delete the Firefox installation folder, which is located in one of these locations, by default:
    #*'''Windows:'''
    #**C:\Program Files\Mozilla Firefox
    #**C:\Program Files (x86)\Mozilla Firefox
    #*'''Mac:''' Delete Firefox from the Applications folder.
    #*'''Linux:''' If you installed Firefox with the distro-based package manager, you should use the same way to uninstall it - see [[Installing Firefox on Linux]]. If you downloaded and installed the binary package from the [http://www.mozilla.org/firefox#desktop Firefox download page], simply remove the folder ''firefox'' in your home directory.
    #Now, go ahead and reinstall Firefox:
    ##Double-click the downloaded installation file and go through the steps of the installation wizard.
    ##Once the wizard is finished, choose to directly open Firefox after clicking the Finish button.
    More information about reinstalling Firefox can be found [[Troubleshoot and diagnose Firefox problems#w_5-reinstall-firefox|here]].
    <b>WARNING:</b> Do not use a third party uninstaller as part of this process. Doing so could permanently delete your [[Profiles|Firefox profile]] data, including but not limited to, extensions, cache, cookies, bookmarks, personal settings and saved passwords. <u>These cannot be easily recovered unless they have been backed up to an external device!</u> See [[Back up and restore information in Firefox profiles]]. <!-- Starting in Firefox 31, the Firefox uninstaller no longer lets you remove user profile data.Ref: Bug 432017 and https://support.mozilla.org/kb/uninstall-firefox-from-your-computer/discuss/5279 [Fx31] Windows uninstaller will no longer offer the option to remove personal data -->
    Please report back to say if this helped you!
    Thank you.

  • How to prevent JFileChooser automatically changing to parent directory?

    When you show only directories, and click on the dir icons to navigate, and then dont select anything and click OK, it automatically 'cd's to the parent folder.
    My application is using the JFileChooser to let the user navigate through folders and certain details of 'foo' files in that folder are displayed in another panel.
    So we dont want the chooser automatically changing dir to parent when OK is clicked. How to prevent this behavior?
    I considered extending the chooser and looked at the Swing source code but it is hard to tell where the change dir is happening.
    thanks,
    Anil
    To demonstrate this, I took the standard JFileChooserDemo from the Sun tutorial and modified it adding these lines
              // NEW line 45 in constructor
              fc.addPropertyChangeListener((PropertyChangeListener) this);
              fc.setFileSelectionMode(JFileChooser.DIRECTORIES_ONLY);
          * NEW -
          * @see java.awt.event.ActionListener#actionPerformed(java.awt.event.ActionEvent)
         public void propertyChange(PropertyChangeEvent e) {
              String prop = e.getPropertyName();
              if (JFileChooser.DIRECTORY_CHANGED_PROPERTY.equals(prop)) {
                   System.out.println("DIRECTORY_CHANGED_PROPERTY");
                   File file = (File) e.getNewValue();
                   System.out.println("DIRECTORY:" + file.getPath());
         }

    Here is the demo:
    package filechooser;
    import java.awt.BorderLayout;
    import java.awt.Insets;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import java.beans.PropertyChangeEvent;
    import java.beans.PropertyChangeListener;
    import java.io.File;
    import javax.swing.ImageIcon;
    import javax.swing.JButton;
    import javax.swing.JFileChooser;
    import javax.swing.JFrame;
    import javax.swing.JPanel;
    import javax.swing.JScrollPane;
    import javax.swing.JTextArea;
    import javax.swing.SwingUtilities;
    import javax.swing.UIManager;
    * FileChooserDemo.java uses these files:
    *   images/Open16.gif
    *   images/Save16.gif
    public class FileChooserDemo extends JPanel implements ActionListener,
              PropertyChangeListener {
         static private final String newline = "\n";
         JButton openButton, saveButton;
         JTextArea log;
         JFileChooser fc;
         public FileChooserDemo() {
              super(new BorderLayout());
              // Create the log first, because the action listeners
              // need to refer to it.
              log = new JTextArea(5, 20);
              log.setMargin(new Insets(5, 5, 5, 5));
              log.setEditable(false);
              JScrollPane logScrollPane = new JScrollPane(log);
              // Create a file chooser
              fc = new JFileChooser();
              // NEW
              fc.addPropertyChangeListener((PropertyChangeListener) this);
              fc.setFileSelectionMode(JFileChooser.DIRECTORIES_ONLY);
              // Create the open button. We use the image from the JLF
              // Graphics Repository (but we extracted it from the jar).
              openButton = new JButton("Open a File...",
                        createImageIcon("images/Open16.gif"));
              openButton.addActionListener(this);
              // Create the save button. We use the image from the JLF
              // Graphics Repository (but we extracted it from the jar).
              saveButton = new JButton("Save a File...",
                        createImageIcon("images/Save16.gif"));
              saveButton.addActionListener(this);
              // For layout purposes, put the buttons in a separate panel
              JPanel buttonPanel = new JPanel(); // use FlowLayout
              buttonPanel.add(openButton);
              buttonPanel.add(saveButton);
              // Add the buttons and the log to this panel.
              add(buttonPanel, BorderLayout.PAGE_START);
              add(logScrollPane, BorderLayout.CENTER);
          * NEW -
          * @see java.awt.event.ActionListener#actionPerformed(java.awt.event.ActionEvent)
         public void propertyChange(PropertyChangeEvent e) {
              String prop = e.getPropertyName();
              // If the directory changed, don't show an image.
              if (JFileChooser.DIRECTORY_CHANGED_PROPERTY.equals(prop)) {
                   System.out.println("DIRECTORY_CHANGED_PROPERTY");
                   File file = (File) e.getNewValue();
                   System.out.println("DIRECTORY:" + file.getPath());
         public void actionPerformed(ActionEvent e) {
              // Handle open button action.
              if (e.getSource() == openButton) {
                   int returnVal = fc.showOpenDialog(FileChooserDemo.this);
                   if (returnVal == JFileChooser.APPROVE_OPTION) {
                        File file = fc.getSelectedFile();
                        // This is where a real application would open the file.
                        log.append("Opening: " + file.getName() + "." + newline);
                   } else {
                        log.append("Open command cancelled by user." + newline);
                   log.setCaretPosition(log.getDocument().getLength());
                   // Handle save button action.
              } else if (e.getSource() == saveButton) {
                   int returnVal = fc.showSaveDialog(FileChooserDemo.this);
                   if (returnVal == JFileChooser.APPROVE_OPTION) {
                        File file = fc.getSelectedFile();
                        // This is where a real application would save the file.
                        log.append("Saving: " + file.getName() + "." + newline);
                   } else {
                        log.append("Save command cancelled by user." + newline);
                   log.setCaretPosition(log.getDocument().getLength());
         /** Returns an ImageIcon, or null if the path was invalid. */
         protected static ImageIcon createImageIcon(String path) {
              java.net.URL imgURL = FileChooserDemo.class.getResource(path);
              if (imgURL != null) {
                   return new ImageIcon(imgURL);
              } else {
                   System.err.println("Couldn't find file: " + path);
                   return null;
          * Create the GUI and show it. For thread safety, this method should be
          * invoked from the event dispatch thread.
         private static void createAndShowGUI() {
              // Create and set up the window.
              JFrame frame = new JFrame("FileChooserDemo");
              frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              // Add content to the window.
              frame.add(new FileChooserDemo());
              // Display the window.
              frame.pack();
              frame.setVisible(true);
         public static void main(String[] args) {
              // Schedule a job for the event dispatch thread:
              // creating and showing this application's GUI.
              SwingUtilities.invokeLater(new Runnable() {
                   public void run() {
                        // Turn off metal's use of bold fonts
                        UIManager.put("swing.boldMetal", Boolean.FALSE);
                        createAndShowGUI();
    }

  • How to prevent user publish stream to FMS

    Hi all,
    I've installed Flash Media Server and send stream to it use Flash Media Live Encoder via rtmp://mydomain.com/live. And on my website, I've embed code to play this live stream via rtmp://mydomain.com/live. All ok!
    But, any user can install Flash Media Live Encoder and connect to my FMS, publish his/her stream (because url to publish and view is same)
    My question is: how to prevent end-user publish stream to my FMS, only allow end-user view my live stream?

    From the Flash Media Live Encoder FAQ:
    How can I enable authentication on Flash Media Server?
    Download the Authentication add-in and install it on Flash Media Server.

  • Preventing caching of pages

    Hi,
    I'm having a problem preventing my jsp pages from caching.
    On my jsp page I have an ordimage object in a table, the source of which is the url of a servlet which serves up an image. If I navigate to a new page and on this page change the image of a record in the table, then return the initial page the image has not been updated until I press f5 to refresh the page.
    I've added the following meta tag to the page header:
    <meta http-equiv="PRAGMA" content="NO-CACHE"/>
    ... but still get the same problem.
    Any thoughts would be greatly appreciated.
    Thanks,
    Dave

    Hi, thanks for getting back to me.
    I've tried setting the header tags as follows ...
    <afh:head title="View Product Images">
    <meta http-equiv="Content-Type"
    content="text/html; charset=windows-1252"/>
    <meta http-equiv="Pragma" content="no-cache" />
    <meta http-equiv="Cache-Control" content="no-cache" />
    <meta http-equiv="Cache-Control" content="must-revalidate" />
    <meta http-equiv="Cache-Control" content="must-revalidate" />
    <meta http-equiv="Expires" content="Mon, 8 Aug 2006 10:00:00 GMT" />
    </afh:head>
    ... but this still doesn't seem to be preventing caching.
    Is the above okay or do I need to set them by doing response.addHeader (or response.setHeader).
    I seemed to be unable to add code of the form:
    <%
    response.setHeader(“Pragma”, “no-cache”);
    response.setHeader(“Cache-Control”, “no-cache”);
    %>
    it gave a compilation error, I assume this is because I am using a jsp document rather than a jsp page? I am very new to jsp's and up until now have avoided writing any additional jsp code, relying entirely on that generated by dragging jsf components onto the jspx document so any help would be greatly appreciated.
    Thanks,
    Dave

  • How to prevent a file from stripping?

    I'm building vacation for Arch64 but should be the same for 32bit. PKGBUILD looks like this:
    # $Id: PKGBUILD,v 1.1 2004/01/21 15:43:15 dale Exp $
    # Maintainer: dale <[email protected]>
    pkgname=vacation
    pkgver=1.2.6.1
    pkgrel=1
    pkgdesc="an automatic mail-answering program"
    depends=(gdbm)
    url="http://www.tosn.org/projects/vacation/"
    source=(http://www.tosn.org/projects/vacation/files/$pkgname-$pkgver.tar.gz vacation.patch)
    build() {
    cd $startdir/src/$pkgname
    mkdir -p $startdir/pkg/usr/{bin,man/man1}
    # keeps binary from building
    rm -rf vacation
    # fixing the Makefile - not only for arch64
    sed -i -e 's: -m486::; s:CFLAGS.*= (.*):CFLAGS += 1:' $startdir/src/$pkgname/Makefile
    sed -i -e "s:/usr/bin:$startdir/pkg/usr/bin:g" $startdir/src/$pkgname/Makefile
    mv vacation.man vacation.1
    make install
    These file have been created:
    [andyrtr@workstation64 vacation]$ ls -lRA pkg/
    pkg/:
    insgesamt 0
    drwxr-xr-x 4 andyrtr users 96 2006-01-28 09:32 usr
    pkg/usr:
    insgesamt 0
    drwxr-xr-x 2 andyrtr users 96 2006-01-28 09:32 bin
    drwxr-xr-x 3 andyrtr users 72 2006-01-28 09:32 man
    pkg/usr/bin:
    insgesamt 24
    -rwxr-xr-x 1 andyrtr users 16864 2006-01-28 09:32 vacation
    -rw------- 1 andyrtr users 470 2006-01-28 09:32 vaclook
    pkg/usr/man:
    insgesamt 0
    drwxr-xr-x 2 andyrtr users 48 2006-01-28 09:32 man1
    pkg/usr/man/man1:
    insgesamt 0
    [andyrtr@workstation64 vacation]$
    I get this error:
    ==> Starting build()...
    gcc -march=x86-64 -O2 -pipe  -Wall  -Xlinker -warn-common -D_PATH_VACATION="/var/abs/extra/system/vacation/pkg/usr/bin/vacation" -o vacation vacation.c -lgdbm
    install -s -m 755 vacation /var/abs/extra/system/vacation/pkg/usr/bin/vacation
    install -s -m 755 vaclook /var/abs/extra/system/vacation/pkg/usr/bin/vaclook
    strip: /var/abs/extra/system/vacation/pkg/usr/bin/vaclook: File format not recognized
    install: strip fehlgeschlagen
    make: *** [install] Fehler 1
    ==> ERROR: Build Failed.  Aborting...
    Krusader detects it as a Perl program. Any idea?
    AndyRTR

    Posted: Sat Jan 28, 2006 8:45 am    Post subject: How to prevent a file from stripping?
    I'm building vacation for Arch64 but should be the same for 32bit. PKGBUILD looks like this:
    Code:
    # $Id: PKGBUILD,v 1.1 2004/01/21 15:43:15 dale Exp $
    # Maintainer: dale <[email protected]>
    pkgname=vacation
    pkgver=1.2.6.1
    pkgrel=1
    pkgdesc="an automatic mail-answering program"
    depends=(gdbm)
    url="http://www.tosn.org/projects/vacation/"
    source=(http://www.tosn.org/projects/vacation/files/$pkgname-$pkgver.tar.gz vacation.patch)
    build() {
       cd $startdir/src/$pkgname
            mkdir -p $startdir/pkg/usr/{bin,man/man1}
            # keeps binary from building
            rm -rf vacation
       # fixing the Makefile - not only for arch64
       sed -i -e 's: -m486::; s:CFLAGS.*= (.*):CFLAGS += 1:' $startdir/src/$pkgname/Makefile
       sed -i -e "s:/usr/bin:$startdir/pkg/usr/bin:g" $startdir/src/$pkgname/Makefile
       mv vacation.man vacation.1
       make install
    These file have been created:
    Code:
    [andyrtr@workstation64 vacation]$ ls -lRA pkg/
    pkg/:
    insgesamt 0
    drwxr-xr-x  4 andyrtr users 96 2006-01-28 09:32 usr
    pkg/usr:
    insgesamt 0
    drwxr-xr-x  2 andyrtr users 96 2006-01-28 09:32 bin
    drwxr-xr-x  3 andyrtr users 72 2006-01-28 09:32 man
    pkg/usr/bin:
    insgesamt 24
    -rwxr-xr-x  1 andyrtr users 16864 2006-01-28 09:32 vacation
    -rw-------  1 andyrtr users   470 2006-01-28 09:32 vaclook
    pkg/usr/man:
    insgesamt 0
    drwxr-xr-x  2 andyrtr users 48 2006-01-28 09:32 man1
    pkg/usr/man/man1:
    insgesamt 0
    [andyrtr@workstation64 vacation]$
    I get this error:
    ==> Starting build()...
    gcc -march=x86-64 -O2 -pipe -Wall -Xlinker -warn-common -D_PATH_VACATION="/var/abs/extra/system/vacation/pkg/usr/bin/vacation" -o vacation vacation.c -lgdbm
    install -s -m 755 vacation /var/abs/extra/system/vacation/pkg/usr/bin/vacation
    install -s -m 755 vaclook /var/abs/extra/system/vacation/pkg/usr/bin/vaclook
    strip: /var/abs/extra/system/vacation/pkg/usr/bin/vaclook: File format not recognized
    install: strip fehlgeschlagen
    make: *** [install] Fehler 1
    ==> ERROR: Build Failed. Aborting...
    Looks like its tring to install to /var/abs/extra/system/vacation/pkg/usr/bin....... ????
    try make DESTDIR=$startdir/pkg/usr install

  • How to prevent computers to logon remote site's domain controllers

    Hi,
    We have 3 sites (HQ, remote site A and remote site B) in a Windows 2008 r2 domain, the clients are win XP and win 7, if remote site A's DC and HQ's DC are offline, we don't want remote site B's DC to authenticate
    remote site A and HQ client, how to prevent remote site B's DC to authenticate remote site A and HQ client except remote site B local client?
    Regards,
    Ray NG.

    You might consider configuring ACLs on your firewalls and network equipment to filter this traffic. However, the idea of having multiple DCs is to have HA while in this case you are trying to avoid having benefit of this feature. For Windows clients, they
    will keep using cached credentials as long as they cannot reach a DC for authentication.
    If you would like to configure ACLs to achieve that, please do not restrict the communication between the DCs themselves.
    This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.
    Get Active Directory User Last Logon
    Create an Active Directory test domain similar to the production one
    Management of test accounts in an Active Directory production domain - Part I
    Management of test accounts in an Active Directory production domain - Part II
    Management of test accounts in an Active Directory production domain - Part III
    Reset Active Directory user password

  • Prevent caching of JARs

    Dear Friends,
    somtime I actualize my JAR-Files.
    And I don't want that the user has to delete his java-Cache, etc. - That's not acceptable for that group of users.
    How can I prevent caching of my JAR-File?
    The JAR is only 70 kb big and wouldn't disturb.
    Well, actually I use a meta pragma nocache - but does that really help?
    Is there a secure way to prevent the caching to the harddrive (after a browser-session) ?
    Thank you!
    With best regards
    MfG
    Inno

    Dear Friends,
    somtime I actualize my JAR-Files.What is that trying to say ?
    Does your jar have feelings and dreams - is it trying to better itself ? (Sorry I couldn't help, just did a psych test ;-P )
    In all seriousness it would help if you explain what type of program this is, what you mean by caching jars, and why it is an issue.
    And I don't want that the user has to delete his
    java-Cache, etc. - That's not acceptable for that
    group of users.
    How can I prevent caching of my JAR-File?
    The JAR is only 70 kb big and wouldn't disturb.
    Well, actually I use a meta pragma nocache - but does
    that really help?
    Is there a secure way to prevent the caching to the
    harddrive (after a browser-session) ?
    Thank you!
    With best regards
    MfG
    Inno

  • How to fix error malformed URL?

    How to fix error malformed URL?

    Can you give more details where you see this error message?
    You can try these steps in case of issues with web pages:
    You can reload web page(s) and bypass the cache to refresh possibly outdated or corrupted files.
    *Hold down the Shift key and left-click the Reload button
    *Press "Ctrl + F5" or press "Ctrl + Shift + R" (Windows,Linux)
    *Press "Command + Shift + R" (Mac)
    Clear the cache and remove cookies only from websites that cause problems.
    "Clear the Cache":
    *Firefox/Tools > Options > Advanced > Network > Cached Web Content: "Clear Now"
    "Remove Cookies" from sites causing problems:
    *Firefox/Tools > Options > Privacy > "Use custom settings for history" > Cookies: "Show Cookies"
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem.
    *Switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance
    *Do NOT click the Reset button on the Safe Mode start window
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • WLS 5.1 and prevent caching on cache server

    Hi,
    Is there any method to prevent caching for *.jar files or any other
    static resources on client side cache server ?
    It seems to be possible by making filter programs that insert
    statement <meta http-equiv="Pragma" content="no-cache">
    into http response header if using WLS 7.1
    but we are using WLS5.1 SP13.

    I'm running native io. How would I use green threads with jdk1.3?
    I didn't think I could.
    thanks,
    lisa
    Chris Shipman <[email protected]> wrote:
    are you runing native io, or running green threads? try
    green threads.
    Lisa Klag wrote:
    I'm having problems getting WLS to run under JDK 1.3.I keep getting
    the following exception:
    Tue Feb 27 15:55:00 GMT+00:00 2001:<A> <SSLListenThread>ListenThread.run()
    failed:
    java.lang.UnsatisfiedLinkError: /opt/weblogic/5.10/lib/linux/libweblogicunix1.so:
    /opt/weblogic/5.10/lib/linux/libweblogicunix1.so: undefinedsymbol:
    makeCString
    at java.lang.ClassLoader$NativeLibrary.load(NativeMethod)
    at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1382)
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1306)
    at java.lang.Runtime.loadLibrary0(Runtime.java:749)
    at java.lang.System.loadLibrary(System.java:820)
    at weblogic.platform.Unix.<init>(Unix.java:14)
    at java.lang.Class.newInstance0(Native Method)
    at java.lang.Class.newInstance(Class.java:237)
    at weblogic.platform.OperatingSystem.getOS(OperatingSystem.java:77)
    at weblogic.t3.srvr.T3Srvr$1.run(T3Srvr.java:1160)
    at weblogic.t3.srvr.Callback.done(Callback.java:37)
    at weblogic.t3.srvr.SSLListenThread.newServerSocket(SSLListenThread.java:474)
    at weblogic.t3.srvr.ListenThread.run(ListenThread.java:245)

  • How to prevent an error of [WIP work order ... is locked-]

    Hello experts
    Can someone tell me how to prevent an error which [The WIP work order associated with this transaction is currently locked and being updated by another user.  Please wait for a few seconds and try again.Transaction processor error].
    How can you prevent that error?
    P.S.
    Oracle support told me [When you make data of mtl_transaction_interface, give same transaction_header_id to all data. Then, you kick worker with appointed transaction_header_id. Or, you set up being uncompatible with workers].
    I cannot allow that making with same transaction_header_id and being uncompatible with worker on my system.

    Hi santosh,
    You can implement badi BBP_DOC_CHECK to check vendor email and issue error message.
    Kind regards,
    Yann

Maybe you are looking for