I have developed a lan based mail system using jsp, servlet, html, css and mysql. This application can send message to another user connected through lan or wifi even he/she is not online.