JSTL标签开发积累

阅读更多

1、判断字符串中包含某个值,格式: ,值, 

                            
                       <%
                               String cityIds = DefaultSettings.get("gczlgl.use.cityIds");
                        String useFlag = DefaultSettings.get("gczlgl.use.flag");
                               if(cityIds == null) cityIds = "";
                               cityIds = cityIds.trim();
                               request.setAttribute("cityIds",cityIds);
                               request.setAttribute("useFlag",useFlag);
                              %>
                              
                              
                              
                               
                              

                              

你可能感兴趣的:(JSTL标签开发积累)