Tech Talk

Digital Transformation, Artificial Intelligence, Machine Learning, IoT, Big Data Analytics, Enterprise Architecture, Performance Engineering, Security, Design and Development tips on Java and .NET platforms.

Friday, August 31, 2007

HTML menu DIV tag over a SELECT element

›
We are using a JS menu that used layers created by div tags. The problem was that this layer was hiding behind behind 'select' dropd...
Wednesday, August 29, 2007

Heap size and Perm size

›
I was getting confused if the heap size specified by -Xmx included the Perm size or it did not? The GC document on Sun's site showed the...
Saturday, August 18, 2007

HttpClient in a multi-threaded environment

›
Our application was using HttpClient library to connect to various third-party systems. I was proposing to develop a smart resuable componen...
Wednesday, August 15, 2007

Finding the version of Solaris

›
Commands to find out the version of Solaris the box is running on: uname -X more /etc/release
Wednesday, August 08, 2007

Viewing large files on Linux/Solaris

›
Log files of J2EE applications can become very big. In our application, the log files were of the size ~ 700 MB to 1GB. To search such big f...

Javascript goodies

›
Today, I spend quite some time refactoring messy Javascript code: 1.) I needed to extract a number appended to the end of the string - use t...
Tuesday, July 24, 2007

Java Applet Caching Issues

›
I spent the last 3 days in frustration trying to get Java Plug-in cache mechanisms to work. Since JDK 1.5, the Java Plug-in has advanced cac...

Search functionality in Textpad and EditPlus

›
A lot of people use text editors such as Textpad and EditPlus. My favourite is Textpad; it can handle large files and also has a very good i...
Sunday, July 22, 2007

Favicon is a bit messy

›
Recently when I was analysing the log files on the server, I came across many reqeuests for a resource - favicon.ico This was strange, since...
Friday, July 20, 2007

Cool collection of JS code

›
Found this link that contains a cool collection of Javascript code. Worth a perusal. I liked the fee menu javascript code available here: ht...
Wednesday, July 18, 2007

Interpreting 2 digit years

›
As a good practice, it is always recommended to use 4 digits to specify the year. But a lot of applications may have a front-end that accept...

JS library for dates

›
I was looking for a reusable JS function that would allow me to format and compare dates just the way it is done in Java using classes such ...
Saturday, July 14, 2007

Difference between empty string and null in Oracle Database

›
In Oracle, when we store a empty string i.e. "" through JDBC, then Oracle stores it as a NULL value. This causes a lot of confusio...
Friday, July 13, 2007

Dynamically making a field as readOnly using Javascript

›
I was looking for a sleek solution that would make all the fields of my form read-only dynamically - or atleast make them appear to be reado...

ReadOnly and Disabled fields

›
In HTML, we have two options if we want non-editable fields. Mark the fields as readonly or make them disabled. The difference between the t...
Thursday, June 21, 2007

Snoop on Solaris and Ethereal

›
I am a big fan of Ethereal tool and use it frequently for analysis of network traffic. The GUI is great and we can decode HTTP traffic from ...

Time complexity and Space complexity of algorithms

›
I had just downloaded the SAP Memory Analyser and was impressed with its performance. More information on this tool can be found here . Goin...
Tuesday, June 05, 2007

Generating GUIDs on the client side web browser

›
If your application requires that a GUID be created to identify the client, then we have 2 options: - If we are sure that the end users use ...
Friday, June 01, 2007

4 GB memory limitation for 32 bit machines

›
What is the maximum heap size that U can allocate to a JVM or a .NET runtime? The answer is dependant on the operating system and hardware. ...
Sunday, May 20, 2007

servletContext.getRealPath() issue

›
Our application was using getRealPath() method to obtain the base path of the web application on the server. I noticed that the method was n...
Tuesday, May 15, 2007

Silently print PDFs on the browser

›
If your web application needs to print PDF's silently on the browser, then check out this blog . Of all options given, I found the iText...
Thursday, May 03, 2007

Modal Dialog submit issue

›
In our application we were using a modal window pop-up. The user has to enter some fields and submit the form. The strange thing was that wh...

Generating PDFs on the fly

›
If we need to generate PDFs on the fly in a JEE web application , then we have 2 open-source options: using Apache FOP or iText . The approa...
Tuesday, May 01, 2007

Setting Cache headers for Gifs, Css and JS files

›
By default, browser and servers use the "if-modified-since" header to check if the file should be downloaded from the server or gi...

Setting nocache headers in Struts Applications

›
In older versions of struts, it was a common practise to extend the ActionServlet and set the no-cache response headers there, so that they ...

Disabling keep-alive connections in Tomcat

›
I was using TcpTrace utility to dump my HTTP requests/responses. But the problem was that my Server (Tomcat) was using keep-alive connection...

CSS caching in IE

›
A strange problem regarding CSS caching had frustrated me for a whole 2 hours today. The problem was reported by one of the developers that...
Monday, April 30, 2007

Magic of JQuery

›
We know that in IE, a form gets submitted whenever we press 'Enter' in a text-field. To disable it would require trapping the event ...
Friday, April 27, 2007

Mean, Median, Mode, Midrange and Standard Deviation

›
A definition of terms to help my frail memory when I need it most :) The arithmetic mean is the sum of the numbers, divided by the quantity...
Wednesday, April 25, 2007

DST implementations in Operating Systems and Java

›
I often wondered how operating systems knew about Day light saving offsets. Recently USA decided to change its DST settings and it immediate...
‹
›
Home
View web version
Powered by Blogger.