Well, something is fishy there. Java is caching files, your browser is
caching files. Files read by an applet are not necessarily cached the same
was as other files. My guess is that it's really not going back to the
server to get the file with the same name. In order to circumvent that, you
might add a parameter to the file name that changes. For example, instead of


load "myfile.pdb"
use

load "myfile.pdb?adlkj24t6"

That should force the browser to reload the information from the server. Or,
if you are accessing a page that gets popped up, add something like that to
the page reference.


Bob


On Thu, Jun 18, 2009 at 11:44 AM, Mickael Krzeminski <
[email protected]> wrote:

> Dear Jmol users,
>
> I recently met a problem when displaying a structure, which does not
> correspond to the one I loaded.
>
> To be clearer... I created a webpage, which displays several buttons,
> which correspond to different molecules.
> Every time you click on a button, the information is sent to the
> server, which generates the structure and creates the corresponding pdb
> file. Then, a window opens and initialises Jmol before reading and
> displaying the structure. The structure has always the same name, but the
> contents of the file is obviously different.
> The problem there is that the structure is always the same! But...
>
> 0. Let us call A the structure that is always displayed and B the one I
> want to see.
> 1. I checked out directly the file on the server and the generated pdb
> structure is well B, even though the one which is displayed is A.
> 2. The structure A does NOT exist at all on the server (Because it has
> never been generated). How Jmol can still find it ?


> 2. With the dropdown menu of Jmol, I asked for downloading the file. And
> when I open this file locally (With PyMol for instance), I get the correct
> structure, B.
>
> Any clue ? Thanks a lot for all your remarks and comments.
>
> Cheers,
> Mickael
>
>
>
> ------------------------------------------------------------------------------
> Crystal Reports - New Free Runtime and 30 Day Trial
> Check out the new simplified licensing option that enables unlimited
> royalty-free distribution of the report engine for externally facing
> server and web deployment.
> http://p.sf.net/sfu/businessobjects
> _______________________________________________
> Jmol-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jmol-users
>



-- 
Robert M. Hanson
Professor of Chemistry
St. Olaf College
1520 St. Olaf Ave.
Northfield, MN 55057
http://www.stolaf.edu/people/hansonr
phone: 507-786-3107


If nature does not answer first what we want,
it is better to take what answer we get.

-- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to