Put Date Time on HTML In JSP, you can simply put Date Time as below. |
Copy text to clipboard in Javascript Below is the example can copy text to clipboard in javascript. It's all tested in Microsoft Internet Explorer. |
Word counting source program based on MapReduce framework The MapReduce framework operates exclusively on pairs, that is, the framework views the input to the job as a set of paris and produces a set of pairs as the output of the job, conceivably of different types. Below is the simple application that... |
How to get the duration between days in PHP Following is the funcation can calculate the duration, actually number of days between the given parameters (from,to). The argument must be subclass of DateTime. |
How to resize image ? Here's the simple example can resizing source image: |
How to set and get sessions on JSP code ? Here's the simple example to set and put sessions.save_my_name,jsp<% String name = request.getParameter( "username" ); session.setAttribute( "theName", name );%>Continuesave_my_n... |
How to add a declaration on JSP code ? If you have developed C or C++ program, you may know below examples.// printf( "a.out");/* printf( "b.out");*/Above code have no bug, but no code will be compiled, because it's all declarations.In JSP, you can make declarations as well. In some docum... |
How to include file in JSP ? Just like ASP, or PHP, JSP is also allow to include for programmer by include function.Here's the simple example.Going to include hello.jsp... |
How to print out text strings on HTML directly ? In JSP, you can print out text strings by out.println(). Here's the example. <% |
How to rename(change file name) in C# ? Simplest way to change file name in C# is using File.Move() function.Here's the simple example change file name for Samsung Black Jack Phone. However it may work on another platform if it supports .NET compact framework.In addition, File creation time can ... |
Send An Email Using A Bean This JSP snippets shows how to send an email using a reuasable javabean |
JQuery And Function Chaining I am learning new things about jQuery: function chaning is a really cool feature:
|