Send An Email Using A Bean This JSP snippets shows how to send an email using a reuasable javabean ... |
Set up an SMTP server on CentOS 7 To set up an SMTP server on CentOS 7, you can use a popular mail server software called Postfix. Here are the steps to install and configure Postfix:1. Update System: Make sure your system is up-to-date by running the following commands:2. Install Postfix:... |
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 send email by TIdSMTP VCL ? TIdSMTP component is very useful VCL in Delphi 2009. Here's the simple example to send email.uses IdSMTP, IdMessage;;procedure KMAIL( sTo, title, body:string);var IdMsg : TIdMessage;begin IdMsg := TIdMessage.Create(nil); try ... |
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...<%@ include file="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. <% |
Put Date Time on HTML In JSP, you can simply put Date Time as below. |
How to send email in PHP ? Send an email from PHP - one line example. |
JQuery And Function Chaining I am learning new things about jQuery: function chaning is a really cool feature:
|