java method call from javascript in jsp page

前端 未结 1 1194
佛祖请我去吃肉
佛祖请我去吃肉 2021-01-26 10:38

I am new to JSP,
I have method that contains loop and want to display value

<%!
private void getDemo() {
    for(int i=0; i<10; i++) {
        setName         


        
1条回答
  •  不思量自难忘°
    2021-01-26 10:52

    Your Javascript runs client side in the browser so will not normally interact with your Java code running server side

    0 讨论(0)
提交回复
热议问题