Ran into an issue where a customer creates public link to a file and pastes into word and it works fine but when he converts it to PDF it no longer works thought the link in browser url bar looks exact same. I reproduced it and saw that "h-s" in link url was getting converted to h%E2%80%90s. After some Googling it turned out to be an adobe bug http://forums.adobe.com/message/2807241 related to hyphen character.
Update: This JSP does not work on a thread that is inside some native code. On many occasions I had a thread stuck in JNI code and it wont work. Also in some cases thread.stop can cause jvm to hang. According to javadocs " This method is inherently unsafe. Stopping a thread with Thread.stop causes it to unlock all of the monitors that it has locked". I have used it only in some rare occasions where I wanted to avoid a system shutdown and in some cases we ended up doing system shutdown as jvm was hung so I had a 70-80% success with it. -------------------------------------------------------------------------------------------------------------------------- We had an interesting requirement. A tomcat thread that was spawned from an ExecutorService ThreadPool had gone Rogue and was causing lots of disk churning issues. We cant bring down the production server as that would involve downtime. Killing this thread was harmless but how to kill it, t
The reason why this happens is because the html recognizes the hyphen that it originally had as HYPHEN, which to it reads as e2 80 90, and thus the %E2%80%90 comes about. What you could do is copy/paste an actual hyphen from a text editor, such as Notepad++ into the name of the document. This way, h%E2%80%90s would read as h-s to the web browser.
ReplyDeleteYes but you see the issue is its not in our hand, we can although create a helpdesk page or known issues page.
Delete