pass java variable in jsp:param

后端 未结 5 1667
耶瑟儿~
耶瑟儿~ 2021-02-04 03:37
 <%!  
    String str = \"prerna\";  
  %>  

 
       >
               


        
5条回答
  •  被撕碎了的回忆
    2021-02-04 04:00

    just but the <%=str%> in double quotes this should work , i hope this is an answer to your question.

    <%!  
        String str = "prerna";  
    %>  
    
    
            
    
    

提交回复
热议问题