Re: Uploading problem
Hi, Li schrieb: thanks for replying, i guess my linux access config no problem since i can use normal java app to write up. Because normal java-apps run with the same rights as the user starting them. I guess it should be the problem for tomcat configure at its security model. And besides, use root run tomcat is not very good. Tomcat runs with different rights (I believe the rights of the web server). Why that? Well, you don't want your web browser to access your private data outside your home page... And you weren't asked to run tomcat as root but change the security settings of the temp dir. The command you were told changes the settings so that EVERYONE on your machine may read, write and execute stuff from the temp directory. Cheers, Philippe Schober - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: ClientAbortException
Hi, B.Sridhar schrieb: Sorry, for my unlcear question. Actually it was a part of my question which I posted earlier. I am writing a struts appliction to download a file that is on the server. When the user clicks the download button, its displaying the open,save cancel window. Everything is working fine for files of small sizes ie. less than 50 kb..but if the file size is more and when I click cancel its displaying a ClientAbort Exception. Your browser (I assume Firefox/Mozilla) downloads the file while you select where to save it. So the Server doesn't know that you abort small files if you select 'cancel' after your browser has downloaded it (into your temporary folder). So the exception should normally occur even for small files if you click fast enough. ;) Cheers, Philippe Schober - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: R: UTF-8 encoding & tag problem
Hi, navin mca schrieb: Wht should I do should I write a programe to convert from IS0-8859 to UTF-8 all those test?. The application resources shouldn't be anything else than Latin-1. Use a simple editor like Notepad and paste your UTF-8 stuff into that file. Be sure to save it as UTF-8 encoded. Then run the native2ascii-tool that comes with Java. native2ascii --encoding=UTF8 input.txt output.properties You will get a resource-file with encoded utf-characters. It will look something like \u0934 or whatever. Those are your unicode characters. That's it. Cheers, Philippe Schober - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Struts problem, random properties after every restart of server
Hi, I am using Struts on Orion 2.0.5 and have some languages (de, sv, en, tr and so on). "en" is the default language (ApplicationResources.properties). The problem I have only occurs on the clients online system. It is not reproducable on our test systems, his test systems or locally. After each restart of the server some texts are in english, some in german. It just mixes up. Those texts are always the same until the next restart. So changing the locale, reloading the page or whatever doesn't change the result. Only restarting the server does. So it seems to be a caching problem. I am aware of bug STR-2925 but think that I have avoided that problem. The strange thing is that it always seems to be german that mixes up with other languages and none of the others. We mirrored the server and tried to reproduce it but the problem just didn't show up. Does anyone have any ideas? Our client is very upset and we are forced to act. The last resort would be to replace Struts but that would be something we all want to avoid at all costs. Cheers, Philippe Schober - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]