ASP.NET News from Blogger: E-Surfers Weblog   Get the feed of: E-Surfers Weblog

Total News: 46

IBM Open Source Application Server Gains Support of More Than 600 Partners in Six Months

IBM Open Source Application Server Gains Support of More Than 600 Partners in Six Months ? IBM has announced that more than 600 independent software vendors (ISVs) and systems integrators have joined ...

Web 2.0 vs Web 1.0: Why Ajax is Conceptually Better

Web 2.0 vs Web 1.0: Why Ajax is Conceptually Better ? We now serve 'pure data' or content, without all the formatting clutter that scrambled our data back in Web 1.0. The reduction of redundancy is a ...

SYS-CON Announces Two New "AJAXWorld University Bootcamp" Dates

SYS-CON Announces Two New "AJAXWorld University Bootcamp" Dates ? SYS-CON Events has announced that, due to popular demand, more 'AJAXWorld University Bootcamps' (http://ajaxbootcamp.sys-con.com) wi...

Krugle - a search engine for source code and code-related information

Krugle makes it easy for developers to find source code and technical information by using its simple, friendly, ajax-enabled interface. It also lets developers add their own comments to entire code f...

Create checked radio button dynamically

I meet some trouble when creating radio buttons through javascript. My code is something like this: function createRadioButton(elt_name, elt_value, elt_label, is_selected) { var inputElement = do...

In-Place editing with script.aculo.us in JSP

Ajax makes it possible to refresh defined parts of the user interface without refreshing the whole web page. An responsive Ajax enabled web site can attract more customers and get more business. With ...

getElementById has no properties in Firefox

I have a register JSP page that contains a form with some input fields. I use the getElementById method to retrieve form values and post them through AJAX. It works very well in IE. But in Firefox, I ...

Loading configuration files under WEB-INF/classes

We often need to load configuration files under WEB-INF/classes directory, it is usually a properties file or an XML file. There are many different ways of doing this. The method below can be used onl...

Replacing line feeds with HTML breaks using JSTL

In my recent e-commerce web application, I use a textarea input element to gather reviews from our customers and store them in a database. The text user entered may contain line breaks (\n). When I re...

Javascript Chaos Engine - a javascript scrambler / obfuscator

Javascript Chaos Engine Free Edition is a free of charge powerful javascript scrambler / javascript obfuscator. With this tool you will be able to keep your javascript source from prying eyes. This t...

Integrate TinyFCK with JSP

Both FCKEditor and TinyMCE are powerful Web-based HTML text editors. They can be integrated into Content Management Systems easily. However, FCKEditor is too big, while TinyMCE lacks of a free file ma...

Javascript debuggers

Along with the development of AJAX, it is necessary to get a handy javascript debugger. The following Javascript debuggers can make our life easier. 1. Venkman JavaScript Debugger - for Firefox It pro...

Iterate over HashMap with JSTL

I've ever written a java bean base on Commons DBUtils, which returns an ArrayList of HashMap results from SQL query. The following is one of my Java Bean: package database; import java.util.ArrayList;...

Adding a function to a dymanically created input element using javascript

I meet some trouble when adding a new script function to a dynamically created input element. The code is something like this: var inputElement = document.createElement("input"); inputElement.setAtt...

A free 10-week "AJAX Programming" online course

A free 10-week "AJAX Programming" online course is about to start from August 4th, 2006. This course is for anyone who wants to learn AJAX for the first time or increase their knowledge on AJAX. In ...

getOutputStream() has already been called for this response

Today, When I export data from database to an excel file, I always get the following exception: java.lang.IllegalStateException: getOutputStream() has already been called for this response at org.apa...

Improve the performance of Netbeans

I'm running Netbeans 5.0 with JDK 1.5.0_06 on Windows XP. It is getting more and more slow, especially during the garbage collection. I found some tunning tips on the NetBeans site. 1. Disable the mod...

Precompile JSP files in Netbeans

Quite often we may need to precompile jsp files to get better performance without waiting the first time hit, or protect our jsp code by only shipping the corresponding CLASS files. Some JSP containe...

AJAX based Google Page Creator

Google has launched a new exciting AJAX based product - Google Page Creator. It is a free tool that lets us create web pages online through browser and publish them to web space hosted on Google serve...

Creating AJAX and Rich Internet Components with JSF - Part 1

Creating AJAX and Rich Internet Components with JSF - Part 1 ? JavaServer Faces (JSF) standardizes the server-side component model for Web application development but doesn't standardize the presentat...

Creating AJAX and Rich Internet Components with JSF - Part 2

Creating AJAX and Rich Internet Components with JSF - Part 2 ? In our previous article - 'Rich Internet Components with JavaServer Faces' (JDJ, Vol. 10, issue 11) - we discussed how JavaServer Faces c...

Master index of the NetBeans tutorials

Sang Shin maintains a master index of NetBeans tutorials and articles which can be visited at http://www.javapassion.com/netbeans/masterindex.html. Thanks a lot for his excellent work!...

Close an IE window without prompt

Usually, we need to close an IE window without prompt, the code below can achieve this. <html><head><script type="text/javascript">function closeWindow() {  this.focus()...

Gathering form data for AJAX posting

When migrating an existing application to AJAX-based technologies, we need to make some change the exising code. For example, to submit a form, the code maybe changed to: function add2Cart(frmObj) {&...

Gethering form data for AJAX posting

When migrating an existing application to AJAX-based technologies, we need to make some change the exising code. For example, to submit a form, the code maybe changed to: function add2Cart(frmObj) {&...

Xerces parser error in applet

I'm using Mapxtreme for Java 4.7.1 with JDK 1.5 and Tomcat 5.5.7 on Windows 2000 Server and I developed a mapxtreme for java applet, in this applet I defined two public methods. One is used to create ...

Unable to load php_mysql.dll

When configuring apache 2.0.55 with php 5.0.4 on Windows Server 2003, I got the error message: ?PHP Startup: Unable to load dynamic library ?D:\Apache2\php\ext\php_mysql.dll? - The specified module co...

6-week Java Intro Programming Online Bootcamp has already begun

The free "6-week Java Intro Programming Online Bootcamp" course taught by Sang Shin has already begun from Jan. 16th, 2006. This bootcamp is for anyone who wants to learn Java programming for the fi...

Form post using Ajax

Ajax becomes increasingly popular as a new approach to create rich client web applications. By using Ajax we can submit form data to web server in the background asynchronously. I've been using Ajax i...

Automatically load a page after a few seconds

We've developed a high load online exam system in which instructors create exams and deliver them through browser. The questions on the paper is randomly chose based on the parameters specified by the...

Formatting date retrieved from database

While getting the value of the date column from table using ResultSet.getString, I always get the date in the format: 2005-11-07 00:00:00.0. In order to display it in the format 'YYYY-MM-DD', I've tri...

Get SQLNestedException again

When I configured SQL Server connection pool in Tomcat 5.5.9, I got the SQLNestedException again. org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL...

MySQL Data truncation Error

When I recently upgraded to MySQL 4.1.10 and Connector/J 3.1.8, I got the following Exception: com.mysql.jdbc.MysqlDataTruncation: Data truncation: Data truncated for column 'productid' at row 1 In mo...

Free Web Services Programming course

A free online "Web Services Programming" course is about to begin on Oct. 26th, 2005 for anyone who wants to learn Web services programming. In this 13-week course, attendees learn basic Web Service...

Implement pagination using BETWEEN/AND

I've signed an account at MyJavaServer.com. It provides HSQLDB database services. The version of HSQLDB is 1.61. My problem comes here. I want to break up the resultsets retrieved from database into m...

Open a new window maximized

Just a javascript function used to open a new window maximized: function openwindow(url) {    var options = 'scrollbars=yes,resizable=yes,status=no,toolbar=no,menubar=no,location=no';&n...

Advanced syntax highlighting tool

I often need to post code snippet to my weblog. Today I found the Advanced Syntax Highlighting tool provided by devshed.com. It can be used to generate HTML output of source code. Using it is ver...

Compressing web content with GZip and Filter

I come across some performence problems in my recent j2ee web project. It always takes a long time for the visitors to wait to see the whole web page. Most of the web content is text-based. So I decid...

Select all the checkboxes in a form

The following two JavaScript functions can be used to quickly select or unselect all the checkboxes in a form. The first one applies to a group of checkboxes with the same name: function setCheckboxe...

Free online J2EE Programming course

A free online "J2EE Programming" course is currently being offered for anyone who wants to learn J2EE or increase their knowledge on J2EE.  In this 12-week course, students learn basic J2EE tec...

AJAX caching problem

People all over the internet are talking about the hottest buzzword - AJAX (or Asynchronous JavaScript and XML). As we already know, it is not a technology in itself, but a term that refers to the use...

Pagination in JSP

We often have the requirement to paginate large amounts of records retrieved from database into pages. I have first used the Pager Tag Library from jsptags.com. It works fine when there is a small qua...

Invalid project description

Today, when I imported an existing project into eclipse's workspace, I got the following error: Invalid project description. D:/eclipse/workspace/report and D:/eclipse/workspace overlap In the beginn...

Make others find your weblog by location

Today I found an interesting website - GeoURL. It is a location-to-URL reverse directory. This will allow you to find URLs by their proximity to a given location. Find your neighbor's blog. It is very...

Import data from excel to MySQL

Many times we need to import data from excel to MySQL or other databases. This can be done using Java Excel API - A Java API to read, write, and modify Excel spreadsheets, which can be downloaded from...

Export data from MySQL to excel

In my recent post I wrote something about import excel data into mysql database. In this entry, I want to talk about the steps I take to export the data of a mysql database into an excel file. 1. Crea...

View Other bloggers