h1

[Oracle Sql] – set unlimited quota for user on tablespace

August 28, 2007

ALTER USER username
IDENTIFIED BY password
QUOTA UNLIMITED ON tablespace_name;

h1

[css] – stylesheet to solve incorrect page break in printing

May 8, 2007

 Try to use this stylesheet for printing and it could solve your printing problem when it comes to multiple page printing, especially for table-based reports.

@media print {
h1            { page-break-before: always }
h1, h2, h3,
h4, h5, h6    { page-break-after: avoid }
ul, ol, dl    { page-break-before: avoid }
}

h1

[J2EE] All in one eclipse distribution

April 13, 2007

I’ve recently tested this distribution of eclipse that bundler with most of the much needed plugin, it cut down the time to setup a new eclipse, especially when you are working with spring, hibernate, tomcat and JBoss.

http://www.easyeclipse.org/site/home/

h1

[J2EE] Remote Service and web services using Spring

April 11, 2007

I was trying to find out if Spring framework can provide remote service like EJB, and was able to find this article

http://www.springframework.org/docs/reference/remoting.html

Spring actually support Remote Service with the following technologies:
Remote Method Invocation (RMI)
Spring’s HTTP invoker
Hessian
Burlap
JAX RPC
JMS 

h1

[Freeware] Wink- Screen capture and demo tool

April 10, 2007

http://www.freeware4u.com/index.php?option=com_remository&Itemid=26&func=fileinfo&id=101

h1

[Java] – Simple trick to export to excel

April 5, 2007

Simply set the header to inform browser that the content type is for xls application.

response.setHeader(“Content-type”,”application/vnd.ms-excel”);

response.setHeader(“Content-disposition”,”inline; filename=myfilename.xls”);

h1

[Oracle] – End Line Char [enter]

April 5, 2007

chr(10) and chr(13) is the end line char.

chr(10) || chr(13) is equivalent to [enter] key in windows.