- Python爬虫解析工具之xpath使用详解
eqa11
python爬虫开发语言
文章目录Python爬虫解析工具之xpath使用详解一、引言二、环境准备1、插件安装2、依赖库安装三、xpath语法详解1、路径表达式2、通配符3、谓语4、常用函数四、xpath在Python代码中的使用1、文档树的创建2、使用xpath表达式3、获取元素内容和属性五、总结Python爬虫解析工具之xpath使用详解一、引言在Python爬虫开发中,数据提取是一个至关重要的环节。xpath作为一门
- pythonpandas函数详解_Python pandas常用函数详解
Senvn
本文研究的主要是pandas常用函数,具体介绍如下。1import语句importpandasaspdimportnumpyasnpimportmatplotlib.pyplotaspltimportdatetimeimportre2文件读取df=pd.read_csv(path='file.csv')参数:header=None用默认列名,0,1,2,3...names=['A','B','C'
- 【Python】np.hstack()和np.vstack函数详解和示例
木彳
Python学习和使用过程积累python开发语言
本文通过函数原理和运行示例,对np.hstack()和np.vstack函数进行详解,以帮助大家理解和使用。更多Numpy函数详解和示例,可参考【Python】Numpy库近50个常用函数详解和示例,可作为工具手册使用目录np.hstack()函数解析运行示例一维数组二维数组np.vstack()函数解析运行示例np.hstack()np.hstack()是NumPy库中的一个函数,用于将两个或更
- Prometheus运维六 PromQL查询语言详解及操作
安顾里
Prometheus监控类大数据kubernetes运维linux
海阔凭鱼跃,天高任鸟飞Prometheus官网:https://prometheus.io/文章目录1.什么是PromQL?2.PromQL的基本使用2.1时间序列选择器2.1.1瞬时向量选择器2.2区间向量选择器2.2.1范围向量选择器2.2.2时间位移操作2.2.3使用聚合操作2.3标量和字符串3.PromQL操作符4.内置常用函数5.HTTPAPI操作PromQL6.使用建议1.什么是Pro
- 【RKNN系列】常用函数:使用RGA加速画框
jcfszxc
RKNN系列Rockchiprknn-toolkit2c++RKNN
以下是针对convert_and_draw_rectangle函数的详细使用说明:convert_and_draw_rectangle函数功能在给定的图像数据上使用RGA(RockchipGraphicsAcceleration)绘制矩形框。语法IM_STATUSconvert_and_draw_rectangle(uint8_t*dst_data,intwidth,intheight,const
- 【多线程服务器】多线程下网络编程
gma999
c++服务器
目录多线程模型-非阻塞IO+oneloopperthreadoneloopperthread线程池oneloopperthread与线程池结合目前主流多线程模型Reactor模式+线程池Proactor模式Master-Worker模型多线程编程的实现线程抢占问题Happens-Before关系Linux下多线程编程常用函数线程的创建线程销毁多线程下的I/ORAII与文件描述符管理RAII与for
- 探索PyQt:常用函数与代码示例
零 度°
pythonpython
引言PyQt是一个用于创建跨平台GUI应用程序的Python绑定库,它提供了对Qt库的全面访问。在本文中,我们将深入探讨PyQt中的一些常用函数,并通过参数解释和代码示例来帮助您更好地理解它们的用法。PyQt5简介PyQt5是Qtv5的Python绑定,它允许您使用Python语言来创建图形用户界面(GUI)。它包括了Qt的大部分模块,如核心功能、GUI组件、网络编程、多线程等。常用函数与参数解释
- Python subprocess库常用函数
YH美洲大蠊
python服务器
1.subprocess.run():应用场景:执行系统命令,获取命令执行结果。作用:运行命令,等待命令完成,然后返回CompletedProcess实例。参数:args:要执行的命令及其参数,可以是一个字符串或一个参数列表。capture_output:如果为True,则捕获命令的输出。input:提供给子进程的输入数据。text:如果为True,则输出和错误将是文本格式。check:如果为Tr
- sql注入常用函数
web安全工具库
小课堂sql注入常用函数
当所有情绪都堆在一起的时候,才发现自己已经不是那个一块糖就能开心的小孩子了。。。----网易云热评一、MySql注入常用函数1、system_user()系统用户名2、user()用户名3、current_user()当前用户名4、session_user()链接数据库的用户名5、database()数据库名6、version()数据库版本7、@@datadir数据库路径8、@@basedir数据
- Java 常用函数式接口案例之Consumer接口
夏沐_lk
Java基础java函数式编程Consumer接口
案例1importjava.util.function.Consumer;/***java.util.function.Consumer:该接口的作用与Supplier接口作用相反,将创建的参数消费(使用)掉。*Consumer接口中包含了唯一一个抽象方法voidaccept(Tt);消费一个指定泛型的数据**defaultConsumerandThen(Consumerafter){*Objec
- Python 数据分析— Pandas 基本操作(下)
fjwangxi
#python数据分析python数据分析pandas
文章目录学习内容:一、数据分箱二、自定义函数三、DataFrame其他常用函数学习内容:一、数据分箱将Series的每个值对应到区间。cut(x=分箱对象Series或1维数组,bins=分箱数或区间,right=是否包含右值,labels=标签)1.对1维数组进行分箱np.random.seed(666)s=np.random.randint(25,100,size=10)#s值:array([
- Hive SQL基础及优化
蓝棠
SQLhivesqlbigdata
SQLSQLSQL基础语法基本含义(与excel对应)数据来源HiveSQL查询语法单表查询语法和使用1,select2,groupby*3,聚合函数4.行转列5,join6,Hive分析/窗口函数7,HiveSQL怎么写7.1*找出5月新用户数>10w的日期**7.2找出7.2号新客,在7.3-7.10仍活跃的用户数*8,开发限制和建议SQL常用函数优秀SQLer的进阶常用函数介绍与应用一、基础
- Python入门教程:随机数random模块的用法
程序员晓晓
python开发语言Python编程Python学习技能分享
random是Python的一个内置模块,可以生成随机浮点数、整数、字符串,甚至帮助你随机选择列表序列中的一个元素,打乱一组数据等。以下是这个模块的常用函数及其用法:1.random.random():生成一个[0.0,1.0)之间的随机浮点数,包括0但不包括1。importrandomprint(random.random())2.random.randint(a,b):生成一个[a,b]之间的
- 文章汇总 | 2018
学习之术
12月RIA便签学习法10月财富最好的定义Spark分布式原理及碰到的三个坑在不断解决问题(矛盾)的过程进步9月《韭菜的自我修养》-股票交易是零和游戏吗?算法实现的后勤保障参加4D领导力培训的收获8月reduceByKey应用举例不要把导火线当做根本原因从一个函数的三次迭代得到的收获Spark入门-常用函数汇总7月听部门大牛分享后的一些感想从三件小事上谈谈至少提出两种方案的重要性健身两个月的收获以
- 深入理解C语言中的文件操作 —— 底层原理与实践
极客代码
玩转C语言开发语言c语言
引言在C语言中,文件操作是一项基础且重要的技能。无论是简单的文本文件读写,还是复杂的二进制文件处理,掌握文件操作对于开发各种类型的应用程序都是必不可少的。本文将详细介绍C语言中文件操作的基本原理、常用函数及其使用方法,并通过示例代码加深理解。文件操作概述在C语言中,文件操作主要通过两种方式进行:标准I/O函数族(stdio.h)和低级I/O函数族(fcntl.h和unistd.h)。标准I/O函数
- Python列表全解析:从入门到精通
Bro_cat
Pythonpython开发语言
Python中的列表(List)是一种功能强大且灵活的数据结构,是编程中不可或缺的工具之一。今天将给大家介绍Python列表的基本概念、操作方法、特性、与数组的差异以及常用函数的使用,帮助你从入门到精通。一、列表的基本概念列表是Python中一种有序、可变的数据集合,能够存储多个元素,这些元素可以是任何数据类型。列表使用方括号[]定义,元素之间用逗号,分隔。例如:my_list=[1,2,3,'a
- 数据分析——python常用函数(数分入门级框架)
进击小张
python数据分析pandas
Python(数据分析常用函数)目录Python(数据分析常用函数)一.numpy(数字化python)1.1数据类型1.2ndarry生成1.3类型转换1.4形状与行列1.5数组运算1.6逻辑运算1.7索引与切片(index从0开始~)三元表达式:where二.Pandas(两种数据类型seives+dataframe)(类似sql查询)2.1数据类型-Series2.2数据类型-Datafra
- Pandas基础知识(二)——DataFrame对象
木木ᶻ
python学习pandaspython
一个初学者小菜鸟的笔记,欢迎纠正!目录DataFrame对象创建DataFrame对象列表方式创建DataFrame对象DataFrame的重要性DataFrame的取值条件取值:DataFrame的常用函数:DataFrame的常用函数:自定义函数apply索引对象:DataFrame对象DataFrame对象是Pandas库中的一种数据结构,类似于二维表,由行和列组成。每列可以是不同的值类型(
- Unity立体几何 点到直线距离计算
随风吹笛
unity3D学习unityunity3d点到直线点到面距离
Unity是一款3D引擎,设计一款3D游戏时,经常会涉及到3D的运算,比如两点之间的距离,向量的一些操作等。Unity已经封装好了一些常用函数在Vector3和Plane类中,如两点之间的距离,向量之间的夹角,向量的投影计算等。这里说一下的是点到直线的距离,根据投影及勾股定理计算。//////点到直线距离//////点坐标///直线上一个点的坐标///直线上另一个点的坐标///publicstat
- 番外-PyTorch细节知识
ModelBulider
PyTorchpytorch人工智能python深度学习
文章目录一、torch.nn.Parameter1.1Parameter与buffer的区别1.2nn.Module类中实现注册Parameter的机制二、Pytorch中的Tensor,Variable&Parameter2.1Tensor2.2Variable2.3Parameter三、pytorch的常用函数总结3.1.data与.detach3.2.scatter与._scatter3.3
- Qt 中 QDir 常用函数详解
威桑
QTqtC++
在Qt框架中,QDir类提供了强大的功能来处理目录和文件路径。无论是导航文件系统、过滤文件,还是获取路径的详细信息,QDir都为开发者提供了一系列便捷的函数。我们详细探讨一些常用的QDir函数,包括absoluteFilePath、absolutePath、canonicalPath、dirName、entryInfoList和entryList。1.QStringabsoluteFilePath
- 神经网络分类任务python入门
三十度角阳光的问候
神经网络分类python
目录Mnist分类任务读取Mnist数据集转换成tensor才能参与后续建模训练torch.nn.functional创建一个model来更简化代码使用TensorDataset和DataLoader来简化整个过程Mnist分类任务-网络基本构建与训练方法,常用函数解析-torch.nn.functional模块-nn.Module模块读取Mnist数据集-会自动进行下载frompathlibim
- C语言文件相关函数
Beginner_bml
开发语言c语言
目录一、引言二、文件函数概述1.文件类型指针2.常用文件函数三、文件函数使用详解1.打开文件2.关闭文件3.写入文件4.读取文件5.二进制文件操作四、实战应用五、总结本文将详细介绍C语言中文件函数的基本概念、常用函数及其使用方法,并通过实例讲解如何在实际项目中应用文件函数进行数据的读写操作。掌握这些知识,将有助于提高C语言编程能力,为后续的项目开发奠定基础。一、引言在C语言编程中,文件操作是不可或
- sklearn 评估模型 常用函数
小Z资本
sklearn人工智能python
`sklearn.metrics`是scikit-learn库中的一个模块,它提供了许多用于评估预测模型性能的指标和工具。这些指标和工具可以帮助你了解模型在训练集和测试集上的表现,以及模型是否能够很好地泛化到未见过的数据。以下是一些`sklearn.metrics`中常用的函数和指标:1.**分类指标**:-`accuracy_score`:计算分类准确率。-`classification_rep
- 1.X Python基础-常用函数
iJaa
Python
目录一、内置函数1.1类型比较-isinstance()二、其他函数2.1随机整数-random.randint()一、内置函数1.1类型比较-isinstance()描述用来判断一个对象是否是某个类型语法isinstance(object,classinfo)object:一个实例的对象classinfo:类型名(直接或间接的类名、以及基本类型,或者由类型名组成的元组)返回值:Bool类型(Tr
- MySQL常用函数
shy好好学习
MySQLmysql
MySQL常用函数指南MySQL提供了丰富的内置函数,可以帮助我们更高效地处理数据。本文将从基础到高级,介绍MySQL中常用的函数,并提供相应的示例。1.字符串函数CONCAT()连接两个或多个字符串。SELECTCONCAT('Hello','','World')ASgreeting;--结果:HelloWorldLENGTH()和CHAR_LENGTH()LENGTH()返回字符串的长度(以字
- solidity一些内置的常用函数和关键字(含智能合约简单代码示例)
Farrol
智能合约区块链
solidity一些内置的常用函数和关键字:1.msg.sender描述:msg.sender是全局变量,代表当前调用者的地址,即谁发起了当前的合约调用。**功能:**用于识别调用者的身份,通常用于权限控制。示例:contractMyContract{addresspublicowner;constructor(){owner=msg.sender;//将合约部署者设置为合约拥有者}functio
- python深度学习框架——TensorFlow
零 度°
pythonpythontensorflow
TensorFlow,由Google开发的开源机器学习库,以其强大的功能和灵活性,在深度学习、计算机视觉和自然语言处理等领域发挥着重要作用。本文将深入探讨TensorFlow中的一些常用函数及其参数。TensorFlow核心概念在TensorFlow中,**张量(Tensor)**是基本的数据单元,可以视为多维数组。**计算图(ComputationGraph)是由节点(代表数学运算)和边(代表张
- 【Qt笔记】QLabel控件详解
冷眼看人间恩怨
Qtqt笔记开发语言QLabel
目录一、引言二、QLabel的基本介绍2.1文本显示2.2图片显示2.3交互性2.4样式和属性三、QLabel的常用函数方法四、QLabel的高级特性4.1文本格式化4.2图片缩放与裁剪4.3交互性增强五、QLabel的常见应用场景5.1信息提示5.2图标与文本结合5.3动态内容更新5.4自定义控件的一部分六、QLabel的高级用法与技巧6.1使用HTML进行富文本格式化6.2图片的缩放与裁剪6.
- Keras深度学习库的常用函数与参数详解及实例
零 度°
pythonpythonkeras
Keras是一个高级的神经网络API,它能够以TensorFlow、CNTK或Theano作为后端运行,以支持快速的实验和模型构建。Keras以其用户友好、模块化、可扩展性而受到广泛欢迎,适用于从深度学习新手到经验丰富的研究人员。常用函数及其参数Dense()全连接层,用于构建神经网络中的线性部分。units:层中的神经元数量。activation:激活函数,默认为’relu’。use_bias:
- 基本数据类型和引用类型的初始值
3213213333332132
java基础
package com.array;
/**
* @Description 测试初始值
* @author FuJianyong
* 2015-1-22上午10:31:53
*/
public class ArrayTest {
ArrayTest at;
String str;
byte bt;
short s;
int i;
long
- 摘抄笔记--《编写高质量代码:改善Java程序的151个建议》
白糖_
高质量代码
记得3年前刚到公司,同桌同事见我无事可做就借我看《编写高质量代码:改善Java程序的151个建议》这本书,当时看了几页没上心就没研究了。到上个月在公司偶然看到,于是乎又找来看看,我的天,真是非常多的干货,对于我这种静不下心的人真是帮助莫大呀。
看完整本书,也记了不少笔记
- 【备忘】Django 常用命令及最佳实践
dongwei_6688
django
注意:本文基于 Django 1.8.2 版本
生成数据库迁移脚本(python 脚本)
python manage.py makemigrations polls
说明:polls 是你的应用名字,运行该命令时需要根据你的应用名字进行调整
查看该次迁移需要执行的 SQL 语句(只查看语句,并不应用到数据库上):
python manage.p
- 阶乘算法之一N! 末尾有多少个零
周凡杨
java算法阶乘面试效率
&n
- spring注入servlet
g21121
Spring注入
传统的配置方法是无法将bean或属性直接注入到servlet中的,配置代理servlet亦比较麻烦,这里其实有比较简单的方法,其实就是在servlet的init()方法中加入要注入的内容:
ServletContext application = getServletContext();
WebApplicationContext wac = WebApplicationContextUtil
- Jenkins 命令行操作说明文档
510888780
centos
假设Jenkins的URL为http://22.11.140.38:9080/jenkins/
基本的格式为
java
基本的格式为
java -jar jenkins-cli.jar [-s JENKINS_URL] command [options][args]
下面具体介绍各个命令的作用及基本使用方法
1. &nb
- UnicodeBlock检测中文用法
布衣凌宇
UnicodeBlock
/** * 判断输入的是汉字 */ public static boolean isChinese(char c) { Character.UnicodeBlock ub = Character.UnicodeBlock.of(c);
- java下实现调用oracle的存储过程和函数
aijuans
javaorale
1.创建表:STOCK_PRICES
2.插入测试数据:
3.建立一个返回游标:
PKG_PUB_UTILS
4.创建和存储过程:P_GET_PRICE
5.创建函数:
6.JAVA调用存储过程返回结果集
JDBCoracle10G_INVO
- Velocity Toolbox
antlove
模板toolboxvelocity
velocity.VelocityUtil
package velocity;
import org.apache.velocity.Template;
import org.apache.velocity.app.Velocity;
import org.apache.velocity.app.VelocityEngine;
import org.apache.velocity.c
- JAVA正则表达式匹配基础
百合不是茶
java正则表达式的匹配
正则表达式;提高程序的性能,简化代码,提高代码的可读性,简化对字符串的操作
正则表达式的用途;
字符串的匹配
字符串的分割
字符串的查找
字符串的替换
正则表达式的验证语法
[a] //[]表示这个字符只出现一次 ,[a] 表示a只出现一
- 是否使用EL表达式的配置
bijian1013
jspweb.xmlELEasyTemplate
今天在开发过程中发现一个细节问题,由于前端采用EasyTemplate模板方法实现数据展示,但老是不能正常显示出来。后来发现竟是EL将我的EasyTemplate的${...}解释执行了,导致我的模板不能正常展示后台数据。
网
- 精通Oracle10编程SQL(1-3)PLSQL基础
bijian1013
oracle数据库plsql
--只包含执行部分的PL/SQL块
--set serveroutput off
begin
dbms_output.put_line('Hello,everyone!');
end;
select * from emp;
--包含定义部分和执行部分的PL/SQL块
declare
v_ename varchar2(5);
begin
select
- 【Nginx三】Nginx作为反向代理服务器
bit1129
nginx
Nginx一个常用的功能是作为代理服务器。代理服务器通常完成如下的功能:
接受客户端请求
将请求转发给被代理的服务器
从被代理的服务器获得响应结果
把响应结果返回给客户端
实例
本文把Nginx配置成一个简单的代理服务器
对于静态的html和图片,直接从Nginx获取
对于动态的页面,例如JSP或者Servlet,Nginx则将请求转发给Res
- Plugin execution not covered by lifecycle configuration: org.apache.maven.plugin
blackproof
maven报错
转:http://stackoverflow.com/questions/6352208/how-to-solve-plugin-execution-not-covered-by-lifecycle-configuration-for-sprin
maven报错:
Plugin execution not covered by lifecycle configuration:
- 发布docker程序到marathon
ronin47
docker 发布应用
1 发布docker程序到marathon 1.1 搭建私有docker registry 1.1.1 安装docker regisry
docker pull docker-registry
docker run -t -p 5000:5000 docker-registry
下载docker镜像并发布到私有registry
docker pull consol/tomcat-8.0
- java-57-用两个栈实现队列&&用两个队列实现一个栈
bylijinnan
java
import java.util.ArrayList;
import java.util.List;
import java.util.Stack;
/*
* Q 57 用两个栈实现队列
*/
public class QueueImplementByTwoStacks {
private Stack<Integer> stack1;
pr
- Nginx配置性能优化
cfyme
nginx
转载地址:http://blog.csdn.net/xifeijian/article/details/20956605
大多数的Nginx安装指南告诉你如下基础知识——通过apt-get安装,修改这里或那里的几行配置,好了,你已经有了一个Web服务器了。而且,在大多数情况下,一个常规安装的nginx对你的网站来说已经能很好地工作了。然而,如果你真的想挤压出Nginx的性能,你必
- [JAVA图形图像]JAVA体系需要稳扎稳打,逐步推进图像图形处理技术
comsci
java
对图形图像进行精确处理,需要大量的数学工具,即使是从底层硬件模拟层开始设计,也离不开大量的数学工具包,因为我认为,JAVA语言体系在图形图像处理模块上面的研发工作,需要从开发一些基础的,类似实时数学函数构造器和解析器的软件包入手,而不是急于利用第三方代码工具来实现一个不严格的图形图像处理软件......
&nb
- MonkeyRunner的使用
dai_lm
androidMonkeyRunner
要使用MonkeyRunner,就要学习使用Python,哎
先抄一段官方doc里的代码
作用是启动一个程序(应该是启动程序默认的Activity),然后按MENU键,并截屏
# Imports the monkeyrunner modules used by this program
from com.android.monkeyrunner import MonkeyRun
- Hadoop-- 海量文件的分布式计算处理方案
datamachine
mapreducehadoop分布式计算
csdn的一个关于hadoop的分布式处理方案,存档。
原帖:http://blog.csdn.net/calvinxiu/article/details/1506112。
Hadoop 是Google MapReduce的一个Java实现。MapReduce是一种简化的分布式编程模式,让程序自动分布到一个由普通机器组成的超大集群上并发执行。就如同ja
- 以資料庫驗證登入
dcj3sjt126com
yii
以資料庫驗證登入
由於 Yii 內定的原始框架程式, 採用綁定在UserIdentity.php 的 demo 與 admin 帳號密碼: public function authenticate() { $users=array( &nbs
- github做webhooks:[2]php版本自动触发更新
dcj3sjt126com
githubgitwebhooks
上次已经说过了如何在github控制面板做查看url的返回信息了。这次就到了直接贴钩子代码的时候了。
工具/原料
git
github
方法/步骤
在github的setting里面的webhooks里把我们的url地址填进去。
钩子更新的代码如下: error_reportin
- Eos开发常用表达式
蕃薯耀
Eos开发Eos入门Eos开发常用表达式
Eos开发常用表达式
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
蕃薯耀 2014年8月18日 15:03:35 星期一
&
- SpringSecurity3.X--SpEL 表达式
hanqunfeng
SpringSecurity
使用 Spring 表达式语言配置访问控制,要实现这一功能的直接方式是在<http>配置元素上添加 use-expressions 属性:
<http auto-config="true" use-expressions="true">
这样就会在投票器中自动增加一个投票器:org.springframework
- Redis vs Memcache
IXHONG
redis
1. Redis中,并不是所有的数据都一直存储在内存中的,这是和Memcached相比一个最大的区别。
2. Redis不仅仅支持简单的k/v类型的数据,同时还提供list,set,hash等数据结构的存储。
3. Redis支持数据的备份,即master-slave模式的数据备份。
4. Redis支持数据的持久化,可以将内存中的数据保持在磁盘中,重启的时候可以再次加载进行使用。
Red
- Python - 装饰器使用过程中的误区解读
kvhur
JavaScriptjqueryhtml5css
大家都知道装饰器是一个很著名的设计模式,经常被用于AOP(面向切面编程)的场景,较为经典的有插入日志,性能测试,事务处理,Web权限校验, Cache等。
原文链接:http://www.gbtags.com/gb/share/5563.htm
Python语言本身提供了装饰器语法(@),典型的装饰器实现如下:
@function_wrapper
de
- 架构师之mybatis-----update 带case when 针对多种情况更新
nannan408
case when
1.前言.
如题.
2. 代码.
<update id="batchUpdate" parameterType="java.util.List">
<foreach collection="list" item="list" index=&
- Algorithm算法视频教程
栏目记者
Algorithm算法
课程:Algorithm算法视频教程
百度网盘下载地址: http://pan.baidu.com/s/1qWFjjQW 密码: 2mji
程序写的好不好,还得看算法屌不屌!Algorithm算法博大精深。
一、课程内容:
课时1、算法的基本概念 + Sequential search
课时2、Binary search
课时3、Hash table
课时4、Algor
- C语言算法之冒泡排序
qiufeihu
c算法
任意输入10个数字由小到大进行排序。
代码:
#include <stdio.h>
int main()
{
int i,j,t,a[11]; /*定义变量及数组为基本类型*/
for(i = 1;i < 11;i++){
scanf("%d",&a[i]); /*从键盘中输入10个数*/
}
for
- JSP异常处理
wyzuomumu
Webjsp
1.在可能发生异常的网页中通过指令将HTTP请求转发给另一个专门处理异常的网页中:
<%@ page errorPage="errors.jsp"%>
2.在处理异常的网页中做如下声明:
errors.jsp:
<%@ page isErrorPage="true"%>,这样设置完后就可以在网页中直接访问exc