I have created a simple "index.psp" drop-in page along with a Page Class
descendant Servlet which works nicely to automatically thumbnail-index,
resize and optionally logo-ize all pictures that are in its folder.
I have one problem left, however.
Since I want to keep this rather simple I dont want to use a database
for data associated to the pictures. So I added a prefs attribute to the
Servlet. But since prefs must be written to disk at some point there
will be problems if several instances of my servlet are being created,
writing their stuff to disk simultaneously.
As far as I got the WebKit architecture this can easily be the case when
several people access the page at the same time.
So, where is the correct place in to put such a prefs data structure to
be truely shared among all instances of the page?
Hints appreciated. Yours,
Fionn
--
"Why, of course, the people don't want war ... But after all it is the
leaders of the country who determine the policy, and it is always a
simple matter to drag the people along, whether it is a democracy, a
fascist dictatorship, a parliament or a communist dictatorship ...
Voice or no voice, the people can always be brought to the bidding of
the leaders. ... All you have to do is to tell them they are being
attacked, and denounce the pacifists for lack of patriotism and
exposing the country to danger."
Hermann Goering, at the Nuremberg Trials after World War II
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss