Multiple submit buttons in the same form calling different Servlets

后端 未结 6 1542
梦毁少年i
梦毁少年i 2020-11-29 02:11

First, here is the code:

Last Name: &l
6条回答
  •  北海茫月
    2020-11-29 02:30

        function gotofirst(){
            window.location = "firstServelet.java";
    }
        function gotosecond(){
            window.location = "secondServelet.java";
    }
    
    
        Last Name: 
        

提交回复
热议问题