Programming is like kicking yourself in the face, sooner or later your nose will bleed ---Kyle Woodbury
Iterating Object Array in Hibernate
Hibernate queries sometimes return tuples of objects in which each tuple is returned as an array. This kind of results are considered scalar. This is how to iterate this kind of query result in hibernate.
Joomla-like (Administrator) User Interface
I like the joomla's administrator user interface because of its cleanliness, so I decided to design an interface imitating it. It's pure CSS (cascading style sheet). Below is a screenshot of the said design.

Free Browsing using Globe Tattoo
- install java run time environment
- Plug Globe Tattoo kit
- Run Globe Broadband program
- Click Connect
- Open Mozilla Firefox
- Go to tools >>> options >>> network >>> settings
Struts 2 Validation - Example Program
Example program showing how to validate input in struts 2 using xml configuration file.
AddEntry.java
Session Management in Struts 2
Store session variable in Action Class:
Map session = ActionContext.getContext().getSession();
session.put("variableName", "variableValue");Store session variable in View / JSP:
Designing Field Error Message in Struts 2
The struts 2 tag <s:fielderror /> will generate the following html tags when field error occur (my example if for age and birthDate field):
Invalid field value for field [fieldName] in Struts 2
The default field error message in struts 2 is Invalid field value for field "[fieldName]". This can be change by creating a property file with a file name pattern [ClassName].properties under the package of the Action class. Then add the example line below (Example for a birthDate field):
invalid.fieldvalue.birthDate = Birthdate is invalid
My First Autonomous Line-Following Mobile Robot
This is my first autonomous line-following mobile robot. This is the final requirement in a summer workshop I attended at UP Visayas Tacloban College. This uses PIC microcontroller programmed in C language.

ICOT-P Data Center Powered by Ubuntu Lucid Lynx
Leyte's complete FOSS computer laboratory, the ICOT-P on ICT Data Center is now running in Ubuntu Lucid Lynx. I just finished the installation of 30 pc's yesterday w/ a help of a Phase II graduating student. The following Free and Open Source Software are installed as an addition to the Ubuntu 10.04 System:
Eclipse for J2EE development,




Recent comments
1 week 2 days ago
1 week 5 days ago
2 weeks 1 day ago
2 weeks 3 days ago
3 weeks 1 day ago
4 weeks 3 days ago
4 weeks 6 days ago
5 weeks 4 days ago
9 weeks 1 day ago
15 weeks 1 day ago