自定义标签---下拉列表之选项

Bootstrap select2之下拉框可自定义输入和选择 bootstrap select2插件下拉框以及自定义输入的写法 阅读详情

/*********************************************
*Author:Java619
*Time:2007-02-15
**********************************************/ 

本文利用自定义标签实现用于产生select列表的选项,并可以指定要选中的项(无重复项),实例中用到了Jakarta commons-beanutil.jar包

1.自定义标签 OptionsTag.java

/**
 * OptionsTag.java
 * Created on Dec 23, 2006 11:11:12 AM
 * Author:ceun
 
*/

package  com.ceun.tag;
/**
 * ceun标签库
 * 
*/

import  java.io.IOException;
import  java.lang.reflect.InvocationTargetException;
import  java.util.Collection;
import  java.util.Iterator;
import  javax.servlet.jsp.JspException;
import  javax.servlet.jsp.JspWriter;
import  javax.servlet.jsp.tagext.TagSupport;

import  org.apache.commons.beanutils.PropertyUtils;
import  com.ceun.util.RequestUtils;
/**
 * <p>主要用于产生select列表的选项,并可以指定要选中的项</p>
 * 
 * 主要用于产生select列表的选项,并可以指定要选中的项
 * <br>属性说明:
    <br>collection:    包含目标元素的集合的名称(必须是实现Collection接口的集合类,如Vector)(必须)
    <br>label:        将目标元素的label值指定的属性作为显示值(必须)
    <br>value:        将目标元素的value值指定的属性作为选项值(必须)
    <br>select:        要指定元素的value值或是包含要选中值的bean的名称(可选)
    <br>property:    bean的属性(可选)
    <br>scope        指定collection及bean的查找范围,其值是形如request:page,(可选)
    <br>            以":"分隔前者指明collection范围,后者指明bean范围
    <br>            可以范围有page,request,session,application
    <br>例:
    <br>若在某个范围(如request)内存在名为subjects集合对象以及一个名为stu且
    <br>具有id属性的JavaBean,我们假设用subjects集合中元素的name属性作为选项显示值
    <br>id属性作为option值(value),并设置列表选中id与stu.id相同的选项
    <br>&lt;ceun:options collection="subjects" label="name" 
    <br>value="id" select="stu" property="id" /&gt;
    <br>或
    <br>&lt;ceun:options collection="terns" label="tern" 
    <br>value="tern" select="stu" property="tern" scope="request:page"/&gt;
    <br>说明:scope="request:page"表明terns集合对象存在于request范围
    <br>而stu JavaBean存在于page范围
 * 
*/

public   final   class  OptionsTag  extends  TagSupport  {
    
private static final long serialVersionUID = 1L;

    
private String collection = null;// 包含目标元素的集合

    
private String label = null;// 将目标元素的label值指定的属性作为显示值

    
private String value = null;// 将目标元素的value值指定的属性作为选项值

    
private String select = null;// 要指定元素的value值或是包含要选中值的bean的名称

    
private String property = null;// bean的属性

    
/**
     * 指定collection及bean的查找范围,其值是形如request:page,
     * 以":"分隔前者指明collection范围,后者指明bean范围
     
*/

    
private String scope = null;

    
/**
     * 
@exception IllegalAccessException 
     * 
@exception InvocationTargetException
     * 
@exception NoSuchMethodException 
     * 
@exception IOException
     
*/

    
public int doEndTag() throws JspException {
        String[] scopes 
= new String[2];
        
if (scope != null)
            scopes 
= scope.split(":");
        Collection elements 
= (Collection) RequestUtils.lookup(pageContext,
                collection, scopes[
0]);
        
if (elements == null)
            
return (EVAL_PAGE);
        Object selectValue
=null;
        
if(select!=null)
           selectValue 
= RequestUtils.lookup(pageContext, select, property,
                scopes[
1]);
        
        Iterator iterator 
= elements.iterator();
        JspWriter out 
= pageContext.getOut();
        
while (iterator.hasNext()) {
            Object element 
= iterator.next();
            Object lab;
// 显示值
            Object v;// 选项值
            try {
                lab 
= PropertyUtils.getSimpleProperty(element, label);
                v 
= PropertyUtils.getSimpleProperty(element, value);
                out.print(
"<option value="" + v + "" ");
                
//若selectValue为空则无选项被选中
                if (selectValue!=null&&v.toString().equals(selectValue.toString()))
                    out.print(
"selected");
                out.println(
">" + lab + "</option>");
            }
 catch (IllegalAccessException e) {
                e.printStackTrace();
            }
 catch (InvocationTargetException e) {
                e.printStackTrace();
            }
 catch (NoSuchMethodException e) {
                e.printStackTrace();
            }
 catch (IOException e) {
                e.printStackTrace();
            }

        }


        
return (EVAL_PAGE);
    }


    
public int doStartTag() throws JspException {
        
return SKIP_BODY;
    }


    
public void release() {
        
super.release();
        
this.collection = null;
        
this.label = null;
        
this.value = null;
        
this.select = null;
        
this.scope = null;
        
this.property = null;
    }


    
public void setCollection(String collection) {
        
this.collection = collection;
    }


    
public String getCollection() {
        
return this.collection;
    }


    
/**
     * 
@return label
     
*/

    
public String getLabel() {
        
return label;
    }


    
/**
     * 
@param label
     *            要设置的 label
     
*/

    
public void setLabel(String label) {
        
this.label = label;
    }


    
/**
     * 
@return value
     
*/

    
public String getValue() {
        
return value;
    }


    
/**
     * 
@param value
     *            要设置的 value
     
*/

    
public void setValue(String value) {
        
this.value = value;
    }


    
/**
     * 
@return select
     
*/

    
public String getSelect() {
        
return select;
    }


    
/**
     * 
@param select
     *            要设置的 select
     
*/

    
public void setSelect(String select) {
        
this.select = select;
    }


    
/**
     * 
@return property
     
*/

    
public String getProperty() {
        
return property;
    }


    
/**
     * 
@param property
     *            要设置的 property
     
*/

    
public void setProperty(String property) {
        
this.property = property;
    }


    
/**
     * 
@return scope
     
*/

    
public String getScope() {
        
return scope;
    }


    
/**
     * 
@param scope
     *            要设置的 scope
     
*/

    
public void setScope(String scope) {
        
this.scope = scope;
    }

}

2.辅助类 RequestUtils.java

 

/**
 * RequestUtils.java
 * Created on 2006-12-23 上午09:52:50
 
*/

package  com.ceun.util;

import  java.lang.reflect.InvocationTargetException;
import  java.util.HashMap;
import  java.util.Map;

import  javax.servlet.jsp.JspException;
import  javax.servlet.jsp.PageContext;

import  org.apache.commons.beanutils.PropertyUtils;

/**
 * 
@author ceun
 * 
 
*/

public   class  RequestUtils  {
    
private static Map scopes = new HashMap();
    
static {
        scopes.put(
"page", new Integer(PageContext.PAGE_SCOPE));
        scopes.put(
"request", new Integer(PageContext.REQUEST_SCOPE));
        scopes.put(
"session", new Integer(PageContext.SESSION_SCOPE));
        scopes.put(
"application", new Integer(PageContext.APPLICATION_SCOPE));
    }

    
/**
     * Locate and return the specified bean, from an optionally specified
     * scope, in the specified page context.  If no such bean is found,
     * return <code>null</code> instead.  If an exception is thrown, it will
     * have already been saved via a call to <code>saveException()</code>.
     *
     * 
@param pageContext Page context to be searched
     * 
@param name Name of the bean to be retrieved
     * 
@param scopeName Scope to be searched (page, request, session, application)
     *  or <code>null</code> to use <code>findAttribute()</code> instead
     * 
@return JavaBean in the specified page context
     * 
@exception JspException if an invalid scope name
     *  is requested
     * 
@since ceunUtil 1.2.1
     
*/

    
public static Object lookup(PageContext pageContext, String name, String scopeName)
        
throws JspException {
            
        
if (scopeName == null) {
            
return pageContext.findAttribute(name);
        }

        
        
try {
            
return pageContext.getAttribute(name, getScope(scopeName));
        
        }
 catch (JspException e) {
            saveException(pageContext, e);
            
throw e;
        }


    }

    
    
/**
     * Converts the scope name into its corresponding PageContext constant value.
     * 
@param scopeName Can be "page", "request", "session", or "application" in any
     * case.
     * 
@return The constant representing the scope (ie. PageContext.REQUEST_SCOPE).
     * 
@throws JspException if the scopeName is not a valid name.
     * 
@since ceunUtil 1.2.1
     
*/

    
public static int getScope(String scopeName) throws JspException {
        Integer scope 
= (Integer) scopes.get(scopeName.toLowerCase());

        
if (scope == null) {
            
throw new JspException("未指定范围");
        }


        
return scope.intValue();
    }


    
/**
     * Locate and return the specified property of the specified bean, from
     * an optionally specified scope, in the specified page context.  If an
     * exception is thrown, it will have already been saved via a call to
     * <code>saveException()</code>.
     *
     * 
@param pageContext Page context to be searched
     * 
@param name Name of the bean to be retrieved
     * 
@param property Name of the property to be retrieved, or
     *  <code>null</code> to retrieve the bean itself
     * 
@param scope Scope to be searched (page, request, session, application)
     *  or <code>null</code> to use <code>findAttribute()</code> instead
     * 
@return property of specified JavaBean
     *
     * 
@exception JspException if an invalid scope name
     *  is requested
     * 
@exception JspException if the specified bean is not found
     * 
@exception JspException if accessing this property causes an
     *  IllegalAccessException, IllegalArgumentException,
     *  InvocationTargetException, or NoSuchMethodException
     
*/

    
public static Object lookup(
        PageContext pageContext,
        String name,
        String property,
        String scope)
        
throws JspException {

        
// Look up the requested bean, and return if requested
        Object bean = lookup(pageContext, name, scope);
        
if (bean == null) {
            JspException e 
= null;
            
if (scope == null) {
                e 
= new JspException("在指定范围内找不到对象");
            }
 else {
                e 
= new JspException("找不到对象");
            }

            saveException(pageContext, e);
            
throw e;
        }

        
        
if (property == null) {
            
return bean;
        }


        
// Locate and return the specified property
        try {
            
return PropertyUtils.getProperty(bean, property);
            
        }
 catch (IllegalAccessException e) {
            saveException(pageContext, e);
            
throw new JspException("不能访问指定对象的属性");
        
        }
 catch (InvocationTargetException e) {
            Throwable t 
= e.getTargetException();
            
if (t == null) {
                t 
= e;
            }

            saveException(pageContext, t);
            
throw new JspException("找不到对象");
        
        }
 catch (NoSuchMethodException e) {
            saveException(pageContext, e);
            
throw new JspException("找不到此方法");
        }


    }

    
public static void saveException(PageContext pageContext, Throwable exception) {

        pageContext.setAttribute(
"ceun.tag.error", exception, PageContext.REQUEST_SCOPE);

    }


}

3.标签描述文件

<? xml version="1.0" encoding="ISO-8859-1"  ?>
<! DOCTYPE taglib
  PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN"
  "http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd"
>
< taglib >

  
<!--  ========== Tag Library Description Elements =========================  -->
  
< tlib-version > 1.0 </ tlib-version >
  
< jsp-version > 1.2 </ jsp-version >
  
< short-name > ceun </ short-name >
  
< uri > http://www.java619.com/util </ uri >
  
< description >
     2006-12-22
  
</ description >
  
< tag >
    
< name > options </ name >
    
< tag-class > com.ceun.tag.OptionsTag </ tag-class >
    
< body-content > empty </ body-content >
    
< description >
      iterate the collection ,and render some options for the select list
    
</ description >
    
< attribute >
      
< name > collection </ name >
      
< required > true </ required >
      
< rtexprvalue > true </ rtexprvalue >
      
< description >
       the name of the collection object
      
</ description >
    
</ attribute >
    
< attribute >
      
< name > label </ name >
      
< required > true </ required >
      
< rtexprvalue > true </ rtexprvalue >
      
< description >
       set the name of label
      
</ description >
    
</ attribute >
    
< attribute >
      
< name > value </ name >
      
< required > true </ required >
      
< rtexprvalue > true </ rtexprvalue >
      
< description >
       set the name of value
      
</ description >
    
</ attribute >
    
< attribute >
      
< name > scope </ name >
      
< required > false </ required >
      
< rtexprvalue > true </ rtexprvalue >
      
< description >
       specify the lookup scope of the collection and the bean,
       it's value look like "request:page",use ":" to split
       the former specify the lookup scope of the collection,
       and the latter specify the lookup scope of the bean,
       available scopes : page,request,session,application
      
</ description >
    
</ attribute >
    
< attribute >
      
< name > select </ name >
      
< required > false </ required >
      
< rtexprvalue > true </ rtexprvalue >
      
< description >
       set the selected option or the selected bean,must be the 
       same property as the value property
      
</ description >
    
</ attribute >
    
< attribute >
      
< name > property </ name >
      
< required > false </ required >
      
< rtexprvalue > true </ rtexprvalue >
      
< description >
       the property of select bean
      
</ description >
    
</ attribute >
  
</ tag >
</ taglib >

4.使用方法

ceun标签库使用方法(2006-12-23)
 1.复制ceun.tld到应用WEB-INF目录下
   复制依赖包commons-beanutil.jar
   到应用WEB-INF/lib目录下
 2.在JSP页面顶部加上
 <%@ taglib uri="http://www.java619.com/util" prefix="ceun" %>
 3.在JSP页面使用
 ceun:options标签使用方法(2006-12-23)
 用途:
  主要用于产生select列表的选项,并指定要选中的项
 属性说明:
 collection: 包含目标元素的集合的名称(必须是实现Collection接口的集合类,如Vector)
 label:  将目标元素的label值指定的属性作为显示值
 value:  将目标元素的value值指定的属性作为选项值
 select:  要指定元素的value值或是包含要选中值的bean的名称
 property: bean的属性(可选,当select指定的是一Bean时,此时要设置该值)
 scope (可选) 指定collection及bean的查找范围,其值是形如request:page,
    以":"分隔前者指明collection范围,后者指明bean范围
    可以范围有page,request,session,application
 例:
 若在某个范围(如request)内存在名为subjects集合对象以及一个名为stu且
 具有id属性的JavaBean,我们假设用subjects集合中元素的name属性作为选项显示值
 id属性作为option值(value),并设置列表选中id与stu.id相同的选项
 <ceun:options collection="subjects" label="name"
 value="id" select="stu" property="id" />
 或
 <ceun:options collection="terns" label="tern"
 value="tern" select="stu" property="tern" scope="request:page"/>
 说明:scope="request:page"表明terns集合对象存在于request范围
 而stu JavaBean存在于page范围

Python学习笔记——变量、print、转义字符 对应Python学习笔记——变量、print、转义字符。变量的类型、命名规则、print的用法、字符串的表示以及转义字符 立即下载

相关推荐

requestUtils lookup方法简介

requestUtils lookup方法简介

自定义标签下拉选择框

先来看看效果 html <div class="select"> <div class="label"> 标签多选框: </div> <div class="multiSelected"> <div class="value"><span>选择</span></div> <div class="list">

张杰伦的博客 464

自定义下拉菜单模式

自定义下拉菜单模式----Spinner与setDropDownViewResource的应用.

学习笔记之VSCODE解决print打印乱码问题

添加如下系统变量即可

weixin_43995148的博客 2600

java组件开发(26)RequestUtils

java组件开发(26)RequestUtils

java下拉菜单复选框

自己改进的java文本框+下拉复选框功能.点击文本框弹出下拉菜单,每选择一次复选框选项,文本框上自动写入选项内容. 可自定义选项之间分隔符

用 Vue.use() 定义全局组件

// 定义一个 button 组件 // button.vue <template> <div class="button"> 按钮 </div> </template> <script> </script> // button.js import ButtonComponent fr...

qq_26642611的博客 843

自定义多选下拉框标签

自定义多选下拉框标签,只需引用标签即可实现多选下拉框,可以传入参数来改变样式等

anctionbar样式 自定义属性

actionbar在style中需要 android:actionButtonStyle 给操作项按钮定义样式资源。 android:actionBarItemBackground  给每个操作项的背景定义可描画资源(被添加在API 级别 14中)。 android:itemBackground  给每个悬浮菜单项的背景定义可描画资源。 android:actio

svenWang_的专栏 1310

解决Surface更新后Bitlocker无限循环的问题

在Surface系统更新以后,出现要求输入Bitlocker恢复密钥的问题。已经输入正确密钥以后,依然无法正常进入Windows操作系统,一旦重启依然循环Bitlocker要求输入密钥的界面。 一旦到登录界面,点击“登录”之后又跳转回登录界面.,但就是无法进入桌面。 解决方案: 拒绝暴力重装!这个问题是Bitlock把盘给锁了,所以要解锁 重启之后,直接点击右下角“跳过这个驱动器” 选择“疑难解答”,然后进入命令提示符 先查看判断现在是不是被锁了: 输入: manage-bde -status c

premierapp的博客 1万+

Git Worktree + Claude Code:多终端并发开发完全实战

深入讲解如何使用 Git Worktree 配合多终端 Claude Code 实现并发开发,通过实战案例展示如何在 Android 开发中提升 2-3 倍效率,彻底告别等待 AI 的问题。

Cheson的专栏 1206

jsp下拉列表—自定义标签

有时一个网页中下拉列表很多,而且是动态变化的时候,这时有自定义标签就会很方便 首先是jdbc数据连接 [c-sharp] view plain copy ackage pro.shopping.util;      import "http://lib.youkuaiyun.com/base/javase" class='replace_word'

徐泗空的博客 3581

Vscode远程免密连接Linux虚拟机,并配置C/C++运行环境

目前想要深入学习在Linux,也为了方便编写C/C++程序。Linux的环境里一般自带有c++的编译环境,如果没有安装gcc和g++等编译器也比较便利。但是在虚拟机里用vim编写C++程序又不得劲,因此打算使用vscode远程连接Linux虚拟机进行学习。为了防止自己以后还要再配置,重复踩坑,因此写下这篇博客用做记录。环境:windows11、VMware17、rocky linux9.1 ( 开源的CentOS9 )

m0_56779872的博客 8682

顶部标题栏(四)自定义ActionBar风格和样式

这篇文章将对ActionBar专题前面几篇学习过的内容做一个总结,顺便运用以前学过的知识实现一个自定义样式的ActionBar标题栏效果。话不多说,进入今天的正题。 一、实现效果图   竖屏效果图:最左边是Logo图标,右边是工具栏按钮,点击Menu键显示其余的按钮键,下方是Tab标签选项。  

xyjikl 654

Linux 系统管理员必备:Chrome 企业版离线部署全攻略(含 RPM/DEB 双版本)

本文详细介绍了Linux系统管理员如何离线部署Chrome企业版,涵盖RPM和DEB双版本。从获取官方离线安装包到静默安装、权限配置及企业级策略管理,提供全流程解决方案,特别适合Ubuntu等DEB系系统管理员参考。

f9g0h的博客 498

【导航】ESP32 教学篇目录 【快速跳转】

本文章 来自原创专栏《ESP32教学专栏 (基于ESP-IDF)》,讲解如何使用 ESP-IDF 构建 ESP32 的WIFI及连接的程序,发布文章并会持续为已发布文章添加新内容! 每篇文章都经过了精打细磨! ↓↓↓通过下方 按钮 进入专栏主页↓↓↓ 专栏主页:点击进入→ESP32 教学专栏 (基于ESP-IDF) WIFI二级专栏:点击进入→ESP32 上的 WiFi ............

Augtons 的博客 3万+

关于java自定义标签的写法(下拉列表两级联动)

java代码: package com.newsicom.common.web.tag; import java.util.Map; import javax.servlet.jsp.JspException; import javax.servlet.jsp.tagext.TagSupport; import com.newsicom.common.constants.Co...

castal111的博客 408

【第2章】ComfyUI安装(配置要求/一键安装/快速上手/生成第一张图)ComfyUI基础入门教程

ComfyUI安装教程,内容涵盖:电脑配置要求、安装方式、软件&插件升级方式、打开ComfyUI、生成第一张AI图片...

聚梦小课堂 1万+

struts list

struts自定义list       &lt;s:select list="#{'1':'NOC Group','2':'Billing Group'}" name=""&gt;&lt;/s:select&gt;

thinktotings的专栏 128

C#与大数据分析:如何通过上位机进行设备故障诊断与预测

设备故障诊断是通过对设备的运行状态数据进行分析,识别和确认故障的类型和位置。而设备故障预测则是通过对设备的历史数据和运行状态进行分析,预测设备何时可能出现故障,从而进行预防性维护。数据采集:通过各种传感器、PLC、嵌入式设备等采集设备运行数据,如温度、压力、振动、转速、功率等。数据预处理:对采集到的数据进行清洗、去噪、缺失值处理、标准化等操作,以确保数据质量。特征工程:从原始数据中提取出有助于故障诊断和预测的特征,例如统计特征、时域特征、频域特征等。数据分析与建模。

这里只有干货:从 Modbus 通信到 MES 对接,从 YOLO 训练到工控机部署,带你搞定工业软件开发全流程。 1061

VC中sqlite的使用

在VC中对sqlite的使用,实现数据库大批数据的快速插入,读取数据库中的数据在ListCtrl中显示

前端 自定义下拉列表框

今天在公司里,遇到了一个很简单的问题,有一个UI样式固定的下拉列表框。当我拿到这个ui的时候,第一感觉就是简单的select标签就可以解决问题,但是后面在改样式的过程中,遇到了许许多多的问题,包括无法修改选中后默认的蓝色框,option的hover无法改变等等。。。 在许多次尝试失败后,我决定,定义一个属于自己的下拉列表,当然啦,我并不想用那些组件,虽然用组件很快吧,但是当一个项目中用的组

qq_26389819的博客 1万+

文档:亲测可用解决vnc灰屏,黑屏,鼠标大黑叉情况

主要解决vnc-viewer灰屏,黑屏,鼠标大黑叉等现象,详细见文档。

PyQt5基本窗口控件(QComboBox(下拉列表框))

项,既可以使用QComboBox的addltem()方法添加单个选项,也可以使用addltems()当下拉列表框中的选项发生改变时将发射currentlndexChanged信号,连接到自。QComboBox是一个集按钮和下拉选项于一体的控件,也被称为下拉列表框。在这个例子中显示了一个下拉列表框和一个标签,其中下拉列表框中有5个选。在方法中,当选中下拉列表框中的一个选项时,将把该选项的文本设置为标签。方法添加多个选项:标签显示的是从下拉列表框中选择的选项,的文本,并调整标签的大小。

钢铁男儿 523

C# WinForm 基于DirectShow.dll编写的程序,可边预览边保存视频,音频和图片

基于微软的DirectShow.dll的二次开发1.自动识别连接的摄像头跟麦克风且可以对其进行选择(默认选中第一个)2.可录制wmv和avi两种格式的视频并且都带有音频,avi可以录制的分辨率和帧数进行选择,wmv默认进行了淸晰度优化如不喜欢可去除代码中有相关提示3.可在预览点开之后进行拍照,也可边录制视频边拍照4.添加了视频和音频的压缩功能(酌情使用)这次二次开发发现C#对DirectShow的相关信息太少,这次做完也不敢藏私共享出来,还望大家指正

廖雪峰Python教程[完整版]

廖雪峰的python教程整理的,已经排好版了,而且还是完整的,适合小白

react组件篇之自定义多选下拉列表

1.前言 近期因公司项目需求,需要做一个多选的下拉列表。找了许多UI框架都没有找到适合的,因此决定自己封装一个并分享出来供有需求的伙伴们使用。项目需求如下图所示: 该需求是当点击添加标签时会弹出一个下拉列表,选中某一项就会在前面添加,再次点击该选中项时则取消选中,添加项消失。 2.实现思路 最初想法是用ant-design Tag和Dropdown实现,由于Dropdown会屏蔽自定义事件而且T...

weixin_34072159的博客 5461

ActionBar-2

转载地址:http://blog.youkuaiyun.com/xyz_lmn/article/details/8132420添加导航选项标签 当你想要在一个Activity中提供导航选择标签时,使用操作栏的选项标签是一个非常好的选择(而不是使用TabWidget类),因为系统会调整操作栏选项标签来适应不同尺寸的屏幕的需要---在屏幕足够宽的时候,导航选项标签会被放到主操作栏...

weixin_34306676的博客 119

下拉列表框select

  下拉列表框select CreateTime--2017年5月15日15:39:24 Author:Marydon 三、下拉列表框   (一)语法     &lt;select&gt;&lt;/select&gt;   (二)&lt;option&gt;标签的value属性   说明:&lt;option&gt;标签的value属性一定得加,不加的话,form表单提交数据时...

weixin_34342905的博客 553
上一篇: 字符串操作(2)---使用正则表达式
下一篇: 2007年春节联欢晚会经典台词
java619
博客等级 码龄20年 12粉丝 31原创
评论 3
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值