Computerized World
-
Tomcat + Apache HTTP: Servers Connecting Guide
Apache Tomcat is a Servlet/JSP container and used to deploy dynamic Java contents like JSPs and Servlets. Tomcat has some web server capabilities, however it is not a full blown web server to serve high traffic web sites. In the meantime Apache HTTP server is a full blown web server. So in general T ...
-
Unable to load dynamic library php_curl.dll: Error message in PHP
In Windows, while trying to use "curl" extension with PHP 5.2/Apache 2; you may encounter a blank page. If you open up the error log file in Apache (%APACHE_HOME%\logs\error.log); you may see an error message as follows."PHP Warning: PHP Startup: Unable to load dynamic library '%PHP_HOME\\ext\\php_ ...
-
Manage HTTP headers with Java Servlets: Quick Notes
In Java Servlets API, both HttpServletRequest and HttpServletResponse interfaces (in javax.servlet.http package) provide methods to programatically manipulate HTTP headers. There are a number of standard HTTP headers exchanged between a web server and a client (eg: a browser). "Content-Type" is a co ...
-
Google redirect to incorrect country domain: Fix on Firefox
Google servers identify the country of the googler and redirect to the relevant country domain. They may be using the IP of the request to locate the country before the redirect. However there are situations many googler getting redirected to incorrect country domains. For example, even though our r ...
-
Gmail Multiple Sessions Alert: This account is open in 1 other location
"This account is open in 1 other location at..." Gmail user interface provides this message when your account is used in multiple locations simultaneously. One of the most important and interesting security feature that any web mail service would wish to provide. I suppose Gmail is the only web mail ...
-
Sun suspends NetBeans IDE DVD Starter Kit distribution program
Sun has suspended their NetBeans IDE DVD Starter Kit distribution program indefinitely. Yes, you read it correctly; they have done it. So many developers used to get most of Sun (free) products through the distribution program. Students with less bandwidth (in some colleges & universities); speciall ...
-
Use "object" instead of "bean" in Spring Configuration XML
Spring configuration xml is used for defining the wiring between different object. It has the following format. <beans> <bean id=".." class="..."> ... </bean> ...<beans>Classes specified in the configuration file will be instantiated by Spring container. And t ...
-
Lazy loading vs. pre-loading beans with Spring Framework
Spring framework can instantiate and bind (called loading) related Java objects (called beans) according to a given configuration. An XML file can easily be used to define these bindings. Spring framework supports two different types of loading methods; lazy loading and pre-loading respectively mana ...
-
[Eclipse] Access restriction: Class is not accessible due to restriction on required library
"Access restriction: Class is not accessible due to restriction on required library"; error message may be shown while developing Java projects in Eclipse IDE. Error message is self-explanatory, some classes can not be loaded into the project since restriction rules are being imposed on those classe ...
-
Chrome or Firefox - which browser to choose?
Chrome is the newest baby in browser family or the next competitor in browser war. What ever it is, Google released their browser named Chrome. But Mozilla Firefox is the most popular browser in the world right now and Google was the major supporter for Firefox. Even while supporting it, they have b ...
-
Better use
Spring configuration xml is used for defining the wiring between different object. It has the following format. <beans> <bean id=".." class="..."> ... </bean> ...<beans>Classes specified in the configuration file will be instantiated by Spring container. And t ...
-
Google Web Toolkit (GWT) & Servlets - Web application tutorial
Google Web Toolkit (GWT) and Java Servlets used in one web application. This tutorial will take you though the steps of developing a simple web application with Google Web Toolkit and J2EE Servlet Technology. The application will have a servlet on server side and one web page.PrerequisitesBetter to ...
-
Is Partitioning a hard disk into multiple drives bad?
Hard disk partitioning is almost a must, according to what I have heard so far from my colleagues and other professionals (may be same for you). I am used to partition a hard disk at least to three drives; "C" for OS (Operating System), "D" for programs and "E for other files like documents, archive ...
-
Cellspacing vs cellpadding - Table attributes comparison
In HTML Tables (<table>) there are two attributes named, cellpadding and cellspacing. What is the different between cellpadding and cellspacing? Both these are capable of creating some empty space inside a table.cellspacing : space between cellscellpadding : space between the cell border and i ...
-
If Michael Phelps is a country himself alone
What if Michael Phelps is a country himself alone rather than representing United States of America? Michael Phelps has already gathered 8 Gold medals in Beijing Olympics 2008 including 3 relays. Most of the participating countries happened to go back empty hand, so many players are participating k ...
-
[Cricket] Most wickets in debut Test series - World record by Ajantha Mendis
Most wickets by a player in his debut 3-match Test series; a 60+ years old world record has been broken. By whom? By Sri Lankan newly found precious mystery spinner Ajantha Mendis. He produced this new world record yesterday, 2008-08-10 with the wicket of Sachin Tendulkar, another master of cricket. ...
-
Verify calling Javascript function available to avoid runtime errors
Do you want to verify whether a Javascript function exists before calling it to avoid runtime errors? With Javascript we used to call Javascript functions. But sometimes our Javascript code tend to throw runtime errors and showing then on the browser. For this there can be several reasons including; ...
-
Write Java with JDK 1.5 features and run on JRE 1.4
Have you being writing your Java code on Java 1.5 (JDK 1.5) with new features like auto boxing, generics and enums? And suddenly realized that your customer's servers are still using Java 1.4 (JRE 1.4)? This is not a surprise since most of the customers are not in a position to take a risk and try t ...
-
Java: Numbers only String by removing non numeric characters
With Java, deleting non numeric characters (letters, symbols etc) from a string to produce a numbers-only String is a common requirement in web applications, as application users are used to insert numeric values with non-numeric characters. For example a phone number will be entered with (-) charac ...
-
How to open a .war (web archive) or .jar (java archive) files
With Java we generate .JAR files to bundle a set of resources. For J2EE web applications, we generate .WAR (Web Archive) files for deployments. Both of these are ways of archiving a set of files.Both these .jar or .war archives are in zip format. So there are plenty of ways to open those files to re ...
