Ran into a problem returning an XML data with special characters encoded into it through an AJAX call. The problem was that special characters (i.e. ñ -> ñ) throws an error when being returned through XML and is in the process of being parsed by the browser.
The catch?
XML does not support named entities by [...]
Entries Categorized as 'Tips & Tricks'
Special Character Encoding in XML
February 13, 2010
Java IO Problem in Tomcat
February 13, 2010
Encountered this problem today while testing an image upload AJAX script in tomcat. Later on I found out that the folder is actually protected Win7 and tomcat couldn’t write the cache or temporary file into the folder.
So anyone having this problem, check the following…
What OS are you running? Vista/Win7?
What IDE are you using?
Was your IDE [...]
Google Analytics with Flash Actionscript 2
December 3, 2009
A little background info, Google Analytics is a free service provided by google to track site statistics, page visits, unique visitors, most visited page, etc.
Now I have been working around with flash actionscript 2 for a few months now and last week I was trying to connect to google analytics using flash actionscript 2, [...]
Java JNI: Unsatisfied Link Error in Library Path
May 5, 2009
I’m currently playing around with Java Native Interfaces(JNI) and I must say its been too long since I programmed in Java. Its good to be back! Anyway, lets hop to the main topic…
I was following the tutorial from Sun in creating my first JNI and calling my compiled C++ library, I was stuck in the [...]
Continuous Explorer Restarting Virus/Trojan
December 9, 2008
Came across this little bugger in my manager’s pc. The whole thing is that after logging into windows, the windows explorer continuously restart and exits. You can click the start button, open something but will naturally kill itself when explorer exits. You can’t even open the drives and folders normally since it will close sooner [...]
MySQL Slave Failed to Open the Relay Log
October 20, 2008
This problem is a little tricky, there are possible fixes that MySQL website has stated. Sad to say, the one’s I read in the forum and site didn’t fix my problem. What I encountered was that the relay-bin from my MySQL slave server has already been ‘rotated’, meaning deleted from the folder. This happens [...]
Java 5 JDK and Jakarta Tomcat 5.5 in Ubuntu Server Installation
September 13, 2008
These are the steps I took to install Jakarta Tomkat 5.5 in conjunction with Java 2 SDK in Ubuntu server.
Login as root, you can also use “su” though I prefer to login as root.
apt-get install sun-java5-jdk
This will install Java 2 SDK (1.5), ubuntu will start downloading packages that are not found in your system.
apt-get [...]
Posted in
content rss

Recent Comments