Use jakarta-commons-FileUpload for config file upload. This atached a Input stream to the Object on the Command parameter for uploaded files. This will make it easy to upload pictures and other files etc... for other commands.
Big hack to work towards removing Tapestry and moveing config file to fixed location in WEB-INF Folder, lossing all xml datafiles and putting data in an optional database. This make s the allpiction unstable and losses features but it is an attempt to work towards a simple clean structure.
Big hack to work towards removing Tapestry and moveing config file to fixed location in WEB-INF Folder, lossing all xml datafiles and putting data in an optional database. This make s the allpiction unstable and losses features but it is an attempt to work towards a simple clean structure.
Tidy up of data from file mess, which was not working very well anyway. This is back to basics so that a database storage of data can be built on top to store Folder and Picture Data.
Repaired the config of thumbnail size and page location. Needs more testing. Fixed the parameter encoding agian. The problem was that if files have german umlauts in them then they were encoded in UTF-8 not the encoding of the response. This has been tidied up and fixed. But if you set your local to be Russia then you can not see files with gernam chars in them becuase these chars do not exist in the locale encoding. This needs a force local config setting and some explanation in the manual and then I think it is acceptable. The alternative is encoding every page in UTF-16.