Java

Android Button setOnClickListener Example

Add a button to your "res/layout/main.xml" file. exmaple: <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:la [...]

Connecting to a MySQL Database in Java

Connection: This is an interface in  java.sql package that specifies connection with specific database like: MySQL,Ms-Access, Oracle etc and java files. The SQL statements are executed within [...]

How to connect MySql Database Using JSP

1. Create a database "sample" in your mysql. If you are using windows version of mysql then right click on schema tab as the following picture. [caption id="attachment_189" align="alignnone" width= [...]