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.

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...

web.xml SAXParseException in Websphere v6.1

›
I encountered a wierd problem while re-deploying a war file on Websphere v6.1. I started getting a SAXParseException in web.xml. The only ch...
Tuesday, April 24, 2007

Cool tools - Squirrel SQL Client, IzPack Java Installer

›
Came across 2 tools that I liked :) Squireel SQL client: Use it to connect to any database using JDBC. http://squirrel-sql.sourceforge.net/ ...

Show friendly HTTP error messages in IE

›
In web.xml, I added the tag to redirect to an error page when ever a 500 internal server error occurs. But in IE, the page was still not get...
Monday, April 23, 2007

UnsatisfiedLinkError while loading native libraries

›
I encountered the following problem when calling native code from a Java application deployed on Websphere. Whenever I was redeploying the W...
Friday, April 20, 2007

Sequence numbers from a Oracle RAC cluster

›
Today, I faced a peculiar problem. Our application was using a Sequence to autogenerate unique numbers required for a particular functionali...
Thursday, April 12, 2007

NTLM authentication using Commons HttpClient

›
Recently I wanted to access a site outside the firewall thru Apache commons HttpClient. The proxy server was using NTLM authentication. Than...
‹
›
Home
View web version
Powered by Blogger.