How can i get context parameter value in jsp.?

后端 未结 5 1986
清酒与你
清酒与你 2020-12-16 00:37
  
        productSearchRPP
        8
    
         


        
5条回答
  •  生来不讨喜
    2020-12-16 01:04

    Even you can try this in your jsp.

    ServletContext context = pageContext.getServletContext();
    com = context.getInitParameter("com");
    

    and with jstl you can use.

    ${initParam['theStringIWant']}
    

提交回复
热议问题