Browsing All Posts filed under »MyWay«

Java: Tomcat Security Protected Example

July 21, 2010


I am recently attracted to look into the Tomcat security protected example. If you freshly install Tomcat servlet container together with the examples, you will get the examples folder in the webapps directory. After you start your Tomcat server, you should be able to access the examples from http://localhost:8080/examples. This post is going to talk […]

Word 2008: Modify Default Font and Paragraph

March 31, 2010


I found Microsoft Word 2008 default font and paragraph was very distracting and decided to look for a permanent way to change this default setting into ‘Times New Roman’ and ‘0 pt paragraph’. Look for the following guidelines on how to do it: Open Microsoft Word 2008; do not do anything (Only if you can’t […]

Javascript: YUI rich text editor fails to save text

January 21, 2010


Last night I found another strange problem when writing a code using Yahoo User Interface 2 (YUI 2). I used YUI 2 rich text editor and found that whatever I typed in that editor would not be passed to my server-side scripting. I actually started my debugging from the backend porting, making sure that whatever I wrote worked perfectly fine and, finally, I realized that actually the rich text editor didn't give my script the text.

Hibernate: My Spring-Hibernate 101

January 18, 2010


It has been a while I work with Spring Framework but I have yet touch Hibernate. Today is the first time I am trying to look at Hibernate in detail in a project that I lead. This project has been around for about a year plus; it is a website powered by Servlets using Spring Framework and Hibernate, which is mainly written by a friend.

MySQL: ERROR 1045 Access denied for user ‘root’@’localhost’ (using password: YES)

September 11, 2009


This error message indicates that the MySQL database is not set to receive a root connection from localhost, which is very hilarious issue. The only way I can fix this issue is by resetting the root permission of the MySQL database. So, the answer to that how I do that is at this page. root@ubuntu:/# […]

HP-UX: Free Software and wget Installation with Proxy

July 6, 2009


The easiest way to obtain HP-UX free software is to go to `Porting and Archive Centre for HP-UX` website; there are a couple of these websites, which can be found using `HP-UX archive` keyword in Google. The website provides HP-UX depot installer file for each free software. The depot is a common HP-UX […]

Javascript: Element setAttribute in MSIE

June 4, 2009


Another frustrating thing about Microsoft product is the standard. I have developed so many web application using third party javascript library or framework, such as Yahoo! User Interface. But now, thanks to the custom javascript build that I have to do, I get a new knowledge that developing a framework/library that work in many plarforms […]