Configuring Jasper

April 17, 2007

Tomcat uses the Jasper JSP Engine to implement JSP specs. From Tomcat 5.5’s docs: http://tomcat.apache.org/tomcat-5.5-doc/jasper-howto.html#Configuration

In particular, a small section configures Tomcat for production:

  • development - To disable on access checks for JSP pages compilation set this to false.
  • genStringAsCharArray - To generate slightly more efficient char arrays, set this to true.
  • modificationTestInterval - If development has to be set to true for any reason (such as dynamic generation of JSPs), setting this to a high value will improve performance a lot.
  • trimSpaces - To remove useless bytes from the response, set this to true.

Refer to the above hyperlink for the full list of configurable settings.


Predefined variables in PHP

April 9, 2007

A list of predefined variables in PHP:

  • $GLOBALS
  • $_SERVER
  • $_GET
  • $_POST
  • $_COOKIE
  • $_FILES
  • $_ENV
  • $_REQUEST
  • $_SESSION

Source of info: http://sg.php.net/en/language.variables.predefined


Installing Oracle XE on Debian and Ubuntu

April 3, 2007

Before installing, make sure you have configured the OS swap space to be at least 1GB! If not, do not fret… the installation guide also offers an alternative:

http://www.oracle.com/technology/tech/linux/install/xe-on-kubuntu.html


Welcome

April 3, 2007

A collection of handy technical notes.

I have another blog for life’s other casual moments.