Tuesday, January 27, 2009

jsp to excell

in this case, we have a report on html format.
then we want to export it to excell (dot xls).
this jsp code :
<%
response.setContentType("application/vnd.ms-excel");
..........
..........

response.setHeader("Content-disposition","attachment;filename="+name+".xls");

%>

Wednesday, November 26, 2008

MySQL 5.1.23 Now Available

MySQL software is published under an open source license and is available in two ways:
1. MySQL Community Edition is the freely downloadable version of the world's most
popular open source database. It is supported by a huge and active community of
open source developers and enthusiasts. MySQL Community Edition uses the GPL
License, is released early and often, and includes all features, including the
latest features under development.

2. MySQL Network is available for users who want access to our world-class support
services, Knowledge Base and certified software. This subscription service is
designed to save developers and DBAs time and effort.
* Enterprise-grade support to help solve the toughest issues
* Online automated software advisors to keep your servers up to date
* Certified MySQL Software that saves time and eliminates guesswork
* Comprehensive KnowledgeBase of best practices technical articles

Get support with MySQL Network

Please see documentation at the MySQL Documentation site.

Monday, November 10, 2008

Java Software Development Kit Installation

we must install java sdk in our computer, if we want to program java.

let us install j2sdk on linux :

1. download java sdk from sun website
(not java jre -- java runtime environment)
2. we'll get a file jdk-6u10-linux-i586.bin (general linux processor x86) or
jdk-6u10-linux-i586-rpm.bin(for redhat, fedora, suse, mandriva)
3. change access your file
chmod +x jdk-6u10-linux-i586.bin
4. then you execute that file dot bin
./ jdk-6u10-linux-i586.bin

4a. if you use a rpm file, after that command you must install with rpm :
rpm -i jdk-6u10-linux-i586-rpm.rpm OR
urpm -i jdk-6u10-linux-i586-rpm

5. edit your profile at /etc/profile , add your home java installation.
example :
JAVA_HOME = /usr/local/j2sdk/bin
JAVA_JRE = /usr/local/j2sdk/jre

export JAVA_HOME
export JAVA_JRE

6. logout from your computer, then login again.
7. test from prompt.
$javac >>>> for compile the java code program
or $java -version
your screen 'll like :
java version "1.6.0_04"
Java(TM) SE Runtime Environment (build 1.6.0_04-b12)
Java HotSpot(TM) Client VM (build 10.0-b19, mixed mode)

8. success

Friday, November 7, 2008

PostgreSQL updates released

The PostgreSQL Global Development Group has released minor versions 8.3.5, 8.2.11, 8.1.15, 8.0.19 and 7.4.23. All users should upgrade to receive the latest fixes.

Download the latest updates

Wednesday, October 22, 2008

Celebrating 10 Years of NetBeans!

Since 1998, NetBeans has grown from a student project into an award winning Open Source project, IDE and application platform. With millions of downloads a year worldwide, the NetBeans community boasts an active and diverse following of software developers, students, instructors and partner companies. Throughout the week, visit this page for unique content—video greetings, community profiles and more—that will highlight some of the key initiatives and dedicated individuals whose contributions have kept the NetBeans momentum going strong.

Friday, September 26, 2008

SELAMAT 'IDUL FITRI

SELAMAT 'IDUL FITRI

MAAF LAHIR BATHIN

Tuesday, September 23, 2008

PostgreSQL updates released

The PostgreSQL Global Development Group has released minor versions 8.3.4, 8.2.10, 8.1.14, 8.0.18 and 7.4.22. All users should upgrade to receive the latest fixes.

Download it !!!