ASP.NET News from Blogger:
E-Surfers Weblog
Total News: 46
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 ? 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 Events has announced that, due to popular demand, more 'AJAXWorld University Bootcamps' (http://ajaxbootcamp.sys-con.com) wi...
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...
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...
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 ...
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 ...
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...
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 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...
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...
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...
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;...
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 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 ...
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...
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...
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...
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 ? 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 ? In our previous article - 'Rich Internet Components with JavaServer Faces' (JDJ, Vol. 10, issue 11) - we discussed how JavaServer Faces c...
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!...
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()...
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) {&...
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) {&...
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 ...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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