Default Spring Form Security & Custom Secuity

Follow HttpBasic configuration for web.xml configuration to add Deligating Filter Proxy for spring security and Dispatcher Servlet for manage spring mvc structure.

Now creating custom and default spring form like.

Http Basic Security Using Spring Framework

Http Basic Security Using Spring Framework :

In web.xml File




Send SMS Using Java

private String smsGatewayUserId = "";
    private String smsGatewayPassword = "";
    private String smsGatewayURL = "";
    private String urlEncoding = "UTF-8";
    private String smsGatewaySID = "";

    private static String csvFilePath = "/var/www/";

    public String getMessage(String ar[]) {

        return null;
public String sendSMS(String mobileNo, String msg) {