Thursday, November 28, 2013

HTML Amazing

HTML Amazing

Differences Between HTML and XHTML

In HTML, the <input> tag has no end tag.

In XHTML, the <input> tag must be properly closed, like this <input />.

Here is how to mark deleted text: blue and inserted text: red!


Want to see what HTML can do?

HTML can do a lot of fun things
Your Birthday:
Select your favorite color:

Form with a dropdown box.

Personal information: Name:
E-mail:
Date of birth:

If you click the "Submit" button, the form-data will be sent to a page called "html_form_action.asp".



Tuesday, October 22, 2013

MySQL vs. Oracle DB

Oracle XE does not have windows 64bits version yet. Oralce Standard Version download size 2.5G.

I am looking for a light DB, so I choose MySQL. MySQL windows 64bits is 207M, much lighter.
Below is a nice comparison betw. the 2 databases:


MySQL download site:


Oracle WebCenter 11g Essential docs:


Oracle® Fusion Middleware Developer's Guide for Oracle WebCenter
11g Release 1 (11.1.1)

http://docs.oracle.com/cd/E15523_01/webcenter.1111/e10148/jpsdg_prep_environment.htm#JPSDG133

Installation Guide:
http://docs.oracle.com/cd/E15523_01/install.htm



Tuesday, October 15, 2013

Create JEE Maven project in Eclipse: What if my archetypes are missing?

When I wanted to start a JEE project in Eclipse using Maven, I found that I can't find an archetype JEE to use. What to do?
The following url gave you a good answer:

http://maven.apache.org/archetype/maven-archetype-plugin/usage.html

In short, in command prompt, do:
$ mvn archetype:generate

Then choose org.codehaus.mojo.archetypes:webapp-jee5 
then choose version1.3.






Tuesday, October 8, 2013

How do I add my Yahoo mail into Outlook 2013 and keep the account synced?

How do I add my Yahoo mail into Outlook 2013?
Follow the following link, use imap instead of POP3 since POP is not enabled in Yahoo.com:

http://superuser.com/questions/595827/how-to-add-yahoo-mail-account-to-outlook-2013/656253#656253

Then how do I keep the account synced?
Following the instructions in the following link to download the sync.msi utility and install it.

http://www.wikihow.com/Synchronize-Outlook-Data-with-Yahoo

Then it works!! Beautiful.

Monday, September 23, 2013

Eclipse: Install Plug Ins

If one can connect to internet, it is easy to install Eclipse Plug Ins.
Go to "Help" --> "Install New Software" --> enter url in "Work With"

But what to do when it is not possible to connect to Internet from Eclipse?

two ways:
(1) find the plug in Zip, download it to local, then use
"Help" --> "Install New Software" --> click on "Add" beside "Work With",
click on "Archive" , select the zip file from your local disk, then Open it.


(2) find the internet proxy which can be used to access internet.
Or use Fiddler (IE browser web debugging tool) to find the proxy Fiddler is using and configure in Eclipse to use it to access the plug in web sites.

Eclipse View Installation Detail


To view installation detail for Eclipse, go to "Help"-->"About Eclipse Platform" --> Click on button "Installation Details".  --> click on "Configuration"