Java个人登陆账号

混合动作空间在强化学习中的创新应用:PDQN与MPDQN算法解析 本文深入解析了强化学习中处理混合动作空间的PDQN与MPDQN算法。针对既有离散选择又有连续调节的复杂决策场景,PDQN通过参数化深度Q网络,巧妙结合DQN与DDPG进行交替优化;MPDQN则进一步改进,为每个离散动作提供专属参数评估以减少干扰。文章通过游戏、自动驾驶等实例阐述了其应用价值与面临的挑战。 阅读详情

package 她;
import java.util.*;//控制镜面输入
import java.util.Random;//随机数


public class t {
    public static void main(String[] args) {
        Scanner s = new Scanner(System.in);    
        System.out.print("please enter a first name:");//输入名字(随便)
        String s2 = s.next();
        System.out.println("1.login");//账号登录
        System.out.println("2.enroll");//账号注册
        System.out.println("3.Recover your password");//账户找回
        System.out.print("Make a fresh choice:");//选择以上
        int number1 = 222222;                         
        int password1 = 123456;
        int number2 = 111111;                            
        int password2 = 234567;
        int number3 = 777777;
        int password3 = 345678;
        int choice = s.nextInt();
        if( choice == 1 || choice == 2 || choice == 3) {
                switch( choice ) {
                case 1:
                    System.out.print("Please enter the login location:" );//输入市芜湖
                     String kkk = s.next();
                     if( kkk == "WUHU") {
                         String jjj = "Unable to register!!!!!!!!!!!!!!!";//不对返回重输
                         System.out.println( jjj );
                         break;
                     }else{
                         System.out.print("Please enter an account number:" );//输入账号
                         int number = s.nextInt();
                         System.out.print("Please enter a password:");//输入密码
                         int password = s.nextInt();
                         System.out.println( number1 + "-----" + "Entre in" + "  " + kkk + "/" + s2 + "---longin");                    //登陆
                         System.out.println("-----------------------------------------------------------");
                         if( number == number1 && password == password1) {
                             System.out.println("number:" + number1);                //账号1
                             System.out.println("Choose any of the following software:");
                             System.out.println("1.       Search software........" );//搜索
                             System.out.println("2.       Shopping Software........");//购物
                             System.out.println("3.       Fiction software.......");    //小说
                             System.out.println("4.       Exam software...........");//考试软件
                             Random random = new Random();                            //随机数
                             int one = random.nextInt(3)+1;                            // 生成[1,2,3,4]区间的整数
                             System.out.println("_________________________"+one );    //随机结果
                             switch( one ) {//搜索
                                 case 1:
                                     System.out.println(
                                             "Search software"
                                             + "........"
                                             + "Movement 1: Stretch the biceps"
                                             + "Point 1: Stand position, "
                                             + "back straight, "
                                             + "one arm open outward "
                                             + "(horizontal abduction 90 degrees), "
                                             + "palm back hold the fixed object or put the hand on the object below the shoulder,"
                                             + " with the shoulder joint as the axis,"
                                             + " the body turns 90 degrees to the opposite side,"
                                             + " the hand position always remains unchanged,"
                                             + " when stretching,"
                                             + " bend the leg to reduce the height of the upper body,"
                                             + " so that the upper limb gradually increases the extension amplitude."
                                             + " When you feel a stretch or slight discomfort in the biceps,"
                                             + " keep static stretch for 10~30 seconds and breathe evenly."
                                             + " Note: Keep your elbow straight and your back straight during stretching."
                                             );    
                                     break;
                                 case 2:
                                     System.out.println("Shopping Software........");//购物
                                     double Price =0.1;
                                     System.out.print("Buy this string of codes, please pay:");    
                                     double pr = s.nextInt();
                                     if( pr <= 0 ) {
                                         System.out.println("No way");    
                                         break;
                                     }else if( pr >= 0.1){
                                         System.out.println("Get your money back" + (pr-Price) + "$");    
                                         break;
                                     }
                                     break;
                                 case 3:
                                     System.out.println("Fiction software.......");//小说                                 
                                     System.out.println("Douluo Continent");//斗罗大陆
                                     System.out.println("Break through the sky");//斗破苍穹
                                     System.out.println("Full-time master");//全职高手
                                     System.out.println("Dream");//红楼梦
                                     System.out.println("please select:");
                                     String sel = s.next();
                                     switch( sel ) {
                                     case "Douluo Continent":
                                         System.out.println("Douluo Continent");//斗罗大陆
                                         System.out.println(""
                                                 + "At the same time as blowing Tang San away, "
                                                 + "Bibi Dong's body also shook, "
                                                 + "and with a wow, a mouthful of purple-black blood spewed out."
                                                 + " However,\n"
                                                 + " everyone watching the battle at the head of Jialing "
                                                 + "Pass City understood that the outcome of this battle was already predetermined."
                                                 + "Tang San's body flew upside down in the air, "
                                                 + "and the purple electric light constantly flashed all over his body,"
                                                 + " and the terrifying resentment was frantically impacting his divine thoughts, "
                                                 + "and he could only go all out to hard top, "
                                                 + "relying on his divine thoughts that were higher than Bibi Dong to expel the resentment and evil qi little by little."
                                                 + " At this time, Tang San's combat effectiveness had dropped to the extreme."
                                                 + " And Qian Chengxue, \n"
                                                 + "who saw Bibi Dong spraying blood, "
                                                 + "was already holding the Angel Holy Sword,"
                                                 + " and the whole person chased after him with a series of golden-red afterimages in the air."
                                                 + " Tang San didn't have the extra strength to block her blow at all.\n"
                                                 + " The sea god faced the angel god and the raksha god who were completely united,"
                                                 + " and after all, there was no chance."
                                                 + " Being able to hit Bibi Dong hard again was already a miracle completed by Tang San.");//斗罗大陆
                                         break;
                                     case "Break through the sky":
                                         System.out.println("Break through the sky");//斗破苍穹
                                         System.out.println(""+" Medicine old sleep"
                                                 + "Staring at the light blue metal piece in his hand with a changing face,"
                                                 + " the controller of the Yunlan Sect,"
                                                 + " on his quiet and indifferent beautiful cheeks,\n "
                                                 + "a wisp of eagerness flashed through the sky, and the jade hand quietly clenched,"
                                                 + " and his heart was constantly churning."
                                                 + "How could fragments of the Sea Heart Armor appear here?\n"
                                                 + " Could it be that the little guy couldn't have been here before? "
                                                 + "Since the Sea Heart Armor has been shattered, "
                                                 + "then he should also have been seriously injured, right?"
                                                 + " This guy, how come there is him everywhere? His gaze swept over the ground with a little anxiety,"
                                                 + " but he didn't find the slightest suspicious trace,\n"
                                                 + " and the brocade robed woman's willow eyebrows were slightly raised, faintly angry."
                                                 + "Sect Master Yunyun, what are you?"
                                                 + "On the side, the old man couldn't help but be stunned when he saw the brocade robed woman's gesture,"
                                                 + " and asked in surprise, this was the first time he saw this controller of the Yunlan Sect, "
                                                 + "and so many strange emotions flashed at the same time."
                                                 + " Oh, it's okay. Awakened by the old man's voice, \n"
                                                 + "the eagerness on the brocade robe woman's pretty face quickly converged, "
                                                 + "and in an instant, he returned to his previous indifference, smiled, "
                                                 + "and in front of the old man, collected the fragments of the Sea Heart Armor into the Na Ring,"
                                                 + " and whispered:  Elder Jia, I think we should investigate the exact identities of the four Douhuang powerhouses before, after all, "
                                                 + "those two Douhuang powerhouses from other countries infiltrated the Gama Empire, it should not be as simple as just coming to play.");
                                         break;
                                     case "Full-time master":
                                         System.out.println("Full-time master");//全职高手
                                         System.out.println(""
                                         +"Liu Hao didn't sleep all night last night,"
                                         + " didn't sleep in the morning, was called by the boss at noon, "
                                         + "and didn't sleep all afternoon. "
                                         + "I didn't sleep until after dinner,"
                                         + " but I didn't forget to target Ye Qiu."
                                         + " So when it was almost midnight, "
                                         + "he struggled to get up and go online,\n "
                                         + "and as soon as he came up, "
                                         + "he was told that the team was full and there was no place,"
                                         + " and Liu Hao hated to eat Ye Qiu alive, "
                                         + "but he had no choice but to stare at the monitor in a daze."
                                         + "Ye Xiu and their side have the heart to brush the copy record. \n"
                                         + "Although no one pays,"
                                         + "there are always many rewards for breaking records."
                                         + " The place of buried bones can be lowered from level 23,"
                                         + " these people at level 25 have been down many times,"
                                         + " if you have the heart to brush the record,\n"
                                         + " you naturally have to pay attention to cooperation,"
                                         + " after Ye Xiu talked a little about the tactics outside the copy,"
                                         + " several people listened, and then entered the copy."
                                         + "Lean!"
                                         + " As soon as he entered, \n"
                                         + "Tian Qi cried out, "
                                         + "and his voice was full of love and hate. "
                                         + "Only because the system sends a prompt: Vampire Knight Gro has signs of resurrection, "
                                         + "please be careful with adventurers."
                                         + "Hide the boss.\n"
                                         + " Of course, "
                                         + "encountering a hidden boss is something that everyone is looking forward to, "
                                         + "but out of the hidden boss,"
                                         + " it is basically impossible to brush the copy record, "
                                         + "which goes against their original intention, which is why Tian Qi loves and hates leaning."
                                         + "Good luck today!\n"
                                         + " Ye Xiu praised, he rose to level 23,"
                                         + " of course, he would not miss the number of copies of the Buried Bone Land every day,"
                                         + "but he had never seen the hidden boss so far. "
                                         + "There are generally several hidden bosses in each of these quests,"
                                         + " and the chances of each appearance are different,\n "
                                         + "and the vampire knight is the one who hides the deepest in the Bones,"
                                         + " and it turned out to be encountered today."
                                         + "Let's take it as a run-in this time!\n"
                                         + "Ye Xiu said and commanded Jun Moxiao to rush up to destroy the monster,"
                                         + " and Tang Rou quickly let Han Yanrou rush immediately after."
                                         + " This girl still likes to compete with Ye Xiu intentionally or unintentionally,"
                                         + " and whatever Ye Xiu does, she has to try to see if she can do it. "
                                         + "Last night, the Frost Forest replica Ye Xiu wildly pulled 16 goblins to her again, "
                                         + "but Tang Rou has always been more struck by the more she fights, the more fierce she fights."
                                         + "But when her cold smoke was just moving,\n"
                                         + " a cannon on the side of the wind comb smoke had already sounded, "
                                         + "and the two zombie monsters that Jun Moxiao rushed towards had been alarmed and were shaking to meet them.\r\n"
                                         + "It has been a few days since she cooperated with this Feng Comb Yanmu, "
                                         + "and this person's performance for Tang Rou is that everything can be ahead of her."
                                         + " For example, at this time, Ye Xiu's Jun Moxiao was the first to rush up to make a monster, "
                                         + "and Tang Rou was about to keep up, but the action of the wind combing smoke Mu was faster than her.\r\n"
                                         + "Is this man's hands faster than mine?\n"
                                         + " Tang Rou thought so in her heart, but she never asked. "
                                         + "What she didn't know was that what Su Mucheng was faster than her was not hand speed,"
                                         + " but consciousness. In terms of hand speed alone, she was already above Su Mucheng, "
                                         + "and under Ye Xiu's guidance, the coordination ability of her left and right hands was also improving rapidly."
                                         + " But in addition, in other aspects, \n"
                                         + "she still has a big gap from the professional-level Su Mucheng. This girl is also not easy, "
                                         + "the comparison object she cares about is not a god-level figure like Ye Xiu,"
                                         + " or a first-line character in the professional circle like Su Mucheng, which makes her always feel a little frustrated,"
                                         + " and then begins to work harder and harder."
                                         + "Shown in the game, that is,\n "
                                         + "Hanyanrou is even closer and fiercer than Jun Moxiao. "
                                         + "This domineering performance made Tian Qi and Yue Zhongmian a little at a loss. "
                                         + "The monster that this girl was fighting made them feel that they couldn't intervene, "
                                         + "But Jun Moxiao's Yinwu attack power was much higher than that of Han Yanrou."
                                         + " In addition, that wind comb smoke Mu is also helping Jun Mo smile and clear the strange, "
                                         + "the monster here is fast enough, Tian Qi and Yue Zhong sleep after rubbing over, "
                                         + "still feel that nothing can help,\n "
                                         + "there is no sense of existence at all. "
                                         + "The two burst into tears, did they still need the two of them?"
                                         + "Ye Xiu saw this situation,"
                                         + " but he also knew it.\n "
                                         + "It was enough for him and Su Mucheng on his side,"
                                         + " and Tian Qi and Yue Zhongmian should be on Tang Rou's side. "
                                         + "But Tang Rou's girl is too strong, always pursuing the limit,"
                                         + " plus the gap between her and Tian Qi and Mid-Moon Sleep is quite large, "
                                         + "and as a result, the two sides are completely unable to form cooperation."
                                         + "Change it, you go and cooperate with her!"
                                         + " Ye Xiu said to Su Mucheng.");
                                         break;
                                     case "Dream":
                                         System.out.println("Dream");//红楼梦
                                         System.out.println(""
                                         +"West Wing Ji Miao Words Tong Joke Peony Pavilion Yanqu Police Heart"
                                         +"It is said that since Jia Yuanchun returned to the palace that day,"
                                         + " he ordered all the inscriptions of that day, "
                                         + "ordered Tanchun to copy and compromise in turn, "
                                         + "compiled his own ranks, described their advantages and disadvantages,"
                                         + " and ordered to strangle stones in the Grand View Garden, "
                                         + "which is a graceful affair for the ages. Therefore,\n "
                                         + "Jia Zheng ordered people to select famous craftsmen everywhere, "
                                         + "and carved words on the grinding stone in the Grand View Garden,"
                                         + " and Jia Zhen led Rong, "
                                         + "Ping and other overseers. \n"
                                         + "Because Jia Qiang also managed twelve female dramas such as civil officials and did the first thing,"
                                         + " it was not very convenient, "
                                         + "so Jia Zhen called Jia Ling and Jia Ling to oversee the work."
                                         + " One day, the soup wax nailed Zhu and started to move. That's not a problem."
                                         + "Moreover, the Jade Emperor Temple and the Dharma Temple are two places,"
                                         + " and the twelve small Shami and twelve small Taoist priests in one class are now moved out of the Grand View Garden, "
                                         + "and Jia Zheng is thinking of sending them to the temples to live separately.\n"
                                         + " Zhou Shi, the mother of Jia Qin who didn't want to live on the back street,"
                                         + " was planning to go to Jia Zheng's side to manage a big and small matter with her son, "
                                         + "and also get some silver money to use,"
                                         + " but when she heard about this, she took a palanquin to beg Sister Feng."
                                         + " Sister Feng, because she saw that he was not very good at taking the class, s"
                                         + "he agreed, and after thinking a few words, she returned to Mrs.\n"
                                         + " Wang and said: These little monks and Taoists must not be sent elsewhere, "
                                         + "and they will accept it when they come out."
                                         + "If it is dispersed, if it is used again, "
                                         + "it is laborious. According to my idea, "
                                         + "it is better to send them to the Tiejian Temple in our family temple,\n "
                                         + "and it will be enough to send someone to take a few taels of silver to buy firewood and rice in the month."
                                         + " Say it, go and call it, it's not a bother. When Mrs. Wang listened, she discussed with Jia Zheng."
                                         + " Jia Zheng listened and smiled: It reminded me, that's it.Call Jia Lian immediately.");
                                         break;
                                     }
                                     break;
                                 case 4:
                                     //先用随机进行1(简单),2(中等),3(困难)
                                     //随机结果是**
                                     //进行判断选择
                                     //进入随机结果
                                     //假设进入"考试软件"!!!!!
                                     //进行分数判断(0/100)
                                     //0重新考
                                     //100奖励1个图
                                     System.out.println("Exam software...........");
                                     Random random1 = new Random();                                    //随机数
                                     int on = random1.nextInt(2)+1;
                                     if( on == 1) {        //简单
                                         System.out.println("1+1=()");
                                         System.out.println("A.6"+" "+"B.4"+" "+"C.2"+" "+"D.9");
                                         System.out.println("please select:");
                                         String select = s.next();
                                         switch( select ) {
                                             case "A":
                                                 System.out.println("Error, 0 points");
                                                 break;
                                             case "B":
                                                 System.out.println("Error, 0 points");
                                                 break;
                                             case "c":
                                                 System.out.println("Correct, 100 points");
                                                 break;
                                             case "D":
                                                 System.out.println("Error, 0 points");
                                                 break;
                                             default:
                                                 System.out.println("Reselect!!!!!!!");                    //输入错误
                                                 break;                                                 
                                         }
                                         System.out.println("Score results(0/100):");
                                         int score = s.nextInt();
                                         if( score == 0) {
                                             System.out.println("Fail, retake!!!!!!!!!!!");
                                             break;
                                         }else if( score == 100 ) {
                                             System.out.println("reward---------------@@@@@@@@@@@@@@@@@@@");
                                         }
                                     }else if( on == 2 ) {    //中等
                                         System.out.println("In a real-life situation, "
                                                 + "please choose the method of creating or changing certain"
                                                 + " conditions to cause certain mental activities of the participant()");
                                         System.out.println("A.Observation method"
                                                 +" "
                                                 +"B.Laboratory experiments"
                                                 +" "
                                                 +"C.Natural experimental method"
                                                 +" "
                                                 +"D.Investigative Law");
                                         System.out.println("please select:");
                                         String select = s.next();
                                         switch( select ) {
                                             case "A":
                                                 System.out.println("Error, 0 points");
                                                 break;
                                             case "B":
                                                 System.out.println("Error, 0 points");
                                                 break;
                                             case "c":
                                                 System.out.println("Correct, 100 points");
                                                 break;
                                             case "D":
                                                 System.out.println("Error, 0 points");
                                                 break;
                                             default:
                                                 System.out.println("Reselect!!!!!!!");                    //输入错误
                                                 break;                                                 
                                         }
                                         System.out.println("Score results(0/100):");
                                         int score = s.nextInt();
                                         if( score == 0) {
                                             System.out.println("Fail, retake!!!!!!!!!!!");
                                             break;
                                         }else if( score == 100 ) {
                                             System.out.println("reward---------------**********************");
                                         }
                                         break;

                                     }else if( on == 3 ) {    //困难
                                         System.out.println("When the product enters the market,"
                                                 + " what to do first, please choose()");
                                         System.out.println("A.Lower prices"
                                                 +" "
                                                 +"B.Track market conditions"
                                                 +" "
                                                 +"C.Expand marketing"
                                                 +" "
                                                 +"D.Develop new products");
                                         System.out.println("please select:");
                                         String select = s.next();
                                         switch( select ) {
                                             case "A":
                                                 System.out.println("Error, 0 points");
                                                 break;
                                             case "B":
                                                 System.out.println("Error, 0 points");
                                                 break;
                                             case "c":
                                                 System.out.println("Correct, 100 points");
                                                 break;
                                             case "D":
                                                 System.out.println("Error, 0 points");
                                                 break;
                                             default:
                                                 System.out.println("Reselect!!!!!!!");                    //输入错误
                                                 break;                                                 
                                         }
                                         System.out.println("Score results(0/100):");
                                         int score = s.nextInt();
                                         if( score == 0) {
                                             System.out.println("Fail, retake!!!!!!!!!!!");
                                             break;
                                         }else if( score == 100 ) {
                                             System.out.println("reward---------------$$$$$$$$$$$$$$$$$$$$$$$$");
                                         }
                                         break;
                                     }        
                                     break;
                                 default:
                                     System.out.println("XXXXXXXXXXXXXXXXXXXXXXXXXXX");                    //输入错误
                                     break;
                             }
                         }else if( number == number2 && password == password2 ) {
                             System.out.println("Select Account Number1!!!!!!!!!!!!!!!");
                             break;
                         }else if( number == number3 && password == password3 ) {
                             System.out.println("Select Account Number2!!!!!!!!!!!!!!!");
                             break;
                         }else {
                             String nnn = "enroll!!!!!!!!!!!!!!!";
                             System.out.println( nnn );
                         }
                     }
                         
                    break;
                case 2:        
                        System.out.print("Position of ldentity:" );
                         String po = s.next();
                         System.out.print("First six, please:");
                         int op = s.nextInt();    
                         if( po == "anhui" || op == 342123){
                             System.out.println( s2 + "Position of ldentity" + po + "First six, please" + op + "---enroll!!!!!!");                    //登陆
                             System.out.println("Select Account Number");                        //选择账号
                             System.out.println("number1");
                             System.out.println("number2");
                              System.out.println("number3");
                                 System.out.print("Please select the following account number:");
                                 int s3 = s.nextInt();
                             switch( s3 ) {
                                 case 1:
                                     System.out.println( s2 + "Your account number!!!!!");    
                                      System.out.println("number:" + number1);
                                      System.out.println("password:" + password1);
                                     break;
                                 case 2:
                                     System.out.println( s2 + "Your account number!!!!!");    
                                      System.out.println("number:" + number2);
                                      System.out.println("password:" + password2);
                                     break;
                                 case 3:
                                     System.out.println( s2 + "Your account number!!!!!!");    
                                      System.out.println("number:" + number3);
                                      System.out.println("password:" + password3);
                                     break;
                             }
                     break;
                         }else{
                             String jjj = "Unable to register!!!!!!!!!!!!!!!";
                             System.out.println( jjj );
                         }
                     case 3:
                    System.out.println( s2 + "---" + "Recover your password");        //找回
                    System.out.println( s2 + "---" + "lncorrect entry,three digits,indicating 0 to 9!!!!!!!!!!!");
                    System.out.print( s2 + "---" + "ldentity authentication:");
                    String cuthentication = s.next();
                    switch( cuthentication ) {
                        case "123":
                            System.out.println("-----------------------------------------------------------");
                            System.out.print( s2 + "---" + "User Security:");
                            int Security = s.nextInt();
                            if( Security !=  01236 ) {
                                System.out.println("Please re-enter your account and password as follows(Choose one of the three):");
                                 System.out.println("number1------------------" + number1);
                                 System.out.println("password1------------------" + password1);
                                 break;
                            }else{
                                    System.out.println( "Please call customer service!!!!!!!!!!" );
                            }
                            break;
                        case "456":
                            System.out.print("-----------------------------------------------------------");
                             System.out.println("Please re-enter your account and password as follows(Choose one of the three):");
                             System.out.println("number2------------------" + number2);
                             System.out.println("password2------------------" + password2);
                            break;
                        case "789":
                            System.out.print("-----------------------------------------------------------");
                             System.out.println("Please re-enter your account and password as follows(Choose one of the three):");
                             System.out.println("number3------------------" + number3);
                             System.out.println("password3------------------" + password3);
                            break;    
                    }
                break;    
                }
        }else {
            System.out.println("===================================================================");
            String m = "Error,restart the program!!";
            System.out.println( m );
        }
        s.close();
    }
}

IATF16949核心职位全解析 TM / Top MgmtMR / QMRProcess OwnerQMQAQCSQECQEPQEPETEMEIEPM / PJMFMEA ModeratorMSA CoordinatorSPC CoordinatorCM / CCB内审员CP / CPK 阅读详情

相关推荐

jav网上购物系统包括数据库

java实训(网上购物新系统)包括sql数据库 源码 wor

Java账户注册

创建账户注册系统,首先注册输入一个账户,你可以限制位数,因注册的账户是数字,因此类型为int,此外,代码中还存在一个异常值的处理,当输入的不是整数是,捕获异常。作者是一个初学java的菜鸟,因此代码比较基础,没有特别的复杂代码,都是一些基础的代码。

m0_74098938的博客 380

EJB入门项目

里面是一个简单的基于IDEA+JBoss7.1.1实现的一个入门级EJB项目

JAVA编写:账号密码

import java.util.*; public class HelloWorld { public static void main(String[] args) { System.out.println("请输入账号:"); Scanner sc = new Scanner(System.in); int a = sc.next().charAt(0) ; System.out.println("请

2202_75453059的博客 1753

java入门第一天

java入门学习第一天

qq_63346610的博客 1052

java注册账号_Java实现简单登录注册账号操作

public static boolean login(int[] message){Scanner scanner = new Scanner(System.in);System.out.println("请输入账号:");int id = scanner.nextInt();int i = 0;for(;iif(message[i] == id){return true;}}return fa...

weixin_31186111的博客 2742

java 账号注册(length(),equals())

package com.zc.homeWork06;import java.util.Scanner;//账号注册,用户名不小于3位,密码不小于6位 public class Register { public static void main(String[] args) { Scanner input = new Scanner(System.in); //

Ziv的博客 763

2024年 全国大学生创业服务网,第六届 互联网+大赛报名流程

三、创建团队并添加指导老师。

2401_83739727的博客 6769

【2024计算机毕业设计】基于jsp+mysql+Spring+hibernate+Struts2的SSH个人博客管理系统

点此进入演示地址最好是java jdk 1.8,我在这个平台上运行的。其他版本理论上也可以。Eclipse,Myeclipse,IDEA或者Spring Tool Suite都可以,如果编译器的版本太低,需要升级下编译器,不要弄太低的版本Tomcat 7.x,8.x,9.x版本均可Windows XP/7/8//8.1/10/11或者Linux或者MacOS,2G内存以上,推荐4G,4G以上更好用户注册,用户登陆,个性化设置,添加文章,相册设置,博客首页等功能。

codeup1593的博客 836

Java期末/课程设计】蛋糕网站(SpringBoot框架\网页设计\MySQL数据库)

本文资源:【Java期末/课程设计】蛋糕网站(JavaWeb框架\网页设计\MySQL数据库)题目描述: 1.根据项目要求,学生分成1-3人的小组,每个小组成员明确分工,合作完成项目。 2.进行详细的需求分析,设计系统的整体架构,包括前端页面设计和后端逻辑实现。 3.选择合适的Java Web框架和技术栈,如Servlet、JSP、Spring MVC、MyBatis等,使用Maven进行项目管理。 4.采用迭代开发的方法,每个迭代周期完成部分功能,并进行测试和调试,确保系统的稳定性和功能的正确性。 5.在

weixin_47040861的博客 1105

java语言实现登陆注册退出

刚学不久接触到的这个程序,运用了数组,登陆注册退出三个条理清晰 import java.util.Scanner; public class example { public static boolean login(int[] message) { Scanner scanner=new Scanner(System.in); System.out.println("请输入账号:")...

qq_44822679的博客 2827

Java实现自动输入账号密码登陆软件

闲来无事做,每次挂外网要用EasyConnect登陆,然而每次登陆都要去输入密码,主要是没有记忆密码功能,太麻烦了。就想着能不能通过代码实现,使其能点击运行就可以让他自动打开该软件,并将账号密码自动输入,自动点击确认登陆。 要实现这些功能,首先要明白Java代码如何打开其他的软件。这就牵扯到了Runtime类,通过Runtime类,调用exec()函数打开软件。 打开软件之后,就要对账号密码进行...

miss_god的博客 8479

Java 异地登陆账号怎么提示

异地登陆账号提示方案 1. 问题背景 在开发Web应用程序时,用户账号安全是一个重要的问题。如果用户在异地登陆账号,可能会涉及到账号被盗用的风险。因此,我们需要一个方案来实现Java异地登陆账号的提示功能。 2. 方案描述 我们可以通过记录用户的登录地点信息,当用户在新的地点登录时,系统会提示用户账号可能存在异常的情况。具...

weixin_40252124的博客 417

基于Java账号、密码登陆页面及验证

我们在日常上网的过程中,常常会使用很多注册、登录我们的账号和密码的环节。这是网页开发中必不可少的一个环节。本文中将利用Java+Tomcat完成一个简单的账号、密码登录的网页。

2464

java账号登陆_SpringMVC实现账号只能在一处登陆

一、问题引导在Web开发中,实现一个账号只能在一处登陆有两种形式:1.当某个账号在某处登陆后,如果再在其他处登陆,将前一个账号挤掉;2.当某个账号登陆后,此账号在其他设备登陆提示已经登陆,无法登陆。 正常的应用逻辑第一种应用较为广泛,因此此篇文章讨论一下第一种逻辑在spring mvc开发中一种较为简单的实现方式。然而在没有长连接如WebSocket或者异步请求轮询的情况下,我们之前登陆账号只能...

weixin_28889007的博客 407

下载jdk登陆的Oracle账号

资源共享学习交流群号:769674658(快满) qq交流二群(296389054) 目前在官网下载低于jdk1.8的java jdk的时候需要登陆,这边分享一个账号,方便下载 2696671285@qq.com 密码:Oracle123 ...

Within的博客 1万+

java的安装

划到最下面找到最后一个。

2301_80059313的博客 95

手把手教你用Java实现用户登录注册的功能

说起用户登录注册其实主要还是几个点,首先第一个就是我们常说的一些验证码。因为验证码可以防止用户频繁的请求接口,比如有一些刻意攻击的请求用来检测账户是否存在,验证码起到了至关重要的一个作用防止重复恶意请求。接着就是一个用户的一个加密密码加密,不要小看这个加密,虽然说加密的方式千变万化,但是作为微服务程序来说,大部分网站还是会用HTTPS的证书,传输还是加密传输的,只是到服务端才进行加密校验。所以总的来说只是存的数据库的密码是进行一个加密的,这里我们采用的是一个加盐的md5加密的方式,虽然说md5也之前被破解过

查拉图斯特拉talk的博客 5654

github账号注册

今天在使用VS code的账户同步功能时,发现自己竟然还没有github账号,于是赶紧申请注册一个。 官网:https://github.com 输入名字、邮箱、密码 点击验证 。。竟然是托老鼠游戏 验证完成 选择free 去自己的邮箱里面找邮件验证 点击 创建自己的GIT储存库 完成 OK,注册完成了,接下来就是一些上传文件的问题啦,但是我暂时还没有这方面的需求,因此就到这里啦...

zwp15133551208的博客 662

Java&&C#实现账号登录、账号注册、修改密码、账号注销等功能

【代码】Java实现账号登录、账号注册、修改密码、账号注销等功能。

qq_60423778的博客 1902

Java Web实现用户登录功能

登录页面login.jsp,输入用户名和密码后,跳转到登录处理程序LoginServlet进行业务逻辑处理,调用服务层,服务层调用数据访问层(DAO),连接数据库,查询数据库,以此判断是否登录成功。登录成功,跳转到登录成功页面success.jsp,否则跳转到登录失败页面failure.jsp。登录页面login.jsp,输入用户名和密码后,跳转到登录处理页面doLogin.jsp进行业务逻辑处理,登录成功,跳转到登录成功页面success.jsp,否则跳转到登录失败页面failure.jsp。

justin02191004的博客 5578
m0_74759727汤杰
博客等级 码龄4年 2粉丝 1原创
评论 3
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值