I am trying to open a pdf file. I am using pdfBox to do so. When I open the document it is using a cached version of the document rather than the current version. Is there a way to get the most current version.
URL urlObj = new URL(urlString); HttpURLConnection connection = (HttpURLConnection) urlObj.openConnection(); connection.setUseCaches(false); int httpRespCode = connection.getResponseCode(); if (httpRespCode == 200) { RandomAccessBuffer tempMemBuffer = new RandomAccessBuffer(); PDDocument doc = PDDocument.load(connection.getInputStream(), tempMemBuffer); .... Interestingly, I am also using the google docs pdf viewer to view the same document elsewhere in the app, and it too is opening the cached version of the document. -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.