Java tutorial
//package com.java2s; public class Main { public static boolean isSuccess(String url) { boolean flag = false; if (url.contains("success=\"true\"")) { flag = true; } return flag; } }