码迷,mamicode.com
首页 >  
搜索关键字:basepath    ( 325个结果
CI 框架源码 入口文件 index.php 即程序开始执行的地方
index.php在CI的解压目录下的,和system文件夹并列 <?php //定义ENVIRONMENT,system_path,application_folder //根据system_path,application_folder,定义常量BASEPATH,APPPATH,SELF,EXT,FCPATH,SYSDIR *--------------------------------------------------------..
分类:Web程序   时间:2015-03-18 18:35:03    阅读次数:224
常用的js小方法
<% String path = request.getContextPath(); String basePath = request.getScheme()+”://”+request.getServerName()+”:”+request.getServerPor...
分类:Web程序   时间:2015-03-17 12:36:15    阅读次数:138
简单东西-项目开发之js总结
1 ajax非异步调用,且调用函数具有返回值 function getEncoderInfo(id){ var encoder = []; $.ajax({ type : "post", url : basePath+"/management/source/findSourceById", data : { id:id }, dataType :...
分类:Web程序   时间:2015-03-09 17:41:43    阅读次数:207
Yii框架中如何使用Yii::t()实现文本信息翻译和文件翻译
1.设置本地化语言在protected/config文件夹下的main.php中做如下设置:return array( 'basePath'=>dirname(__FILE__).DIRECTORY_SEPARATOR.'..', 'name'=>'My Web Application'...
分类:其他好文   时间:2015-03-09 15:45:10    阅读次数:123
easyUI datagrid 双击某一行弹出dialog
jQuery('#user-grid').datagrid({url:basePath+'user-manager-list.html',width:870,height:338,fitColumns:true,pagination:true,rowIndex:'login_name',single...
分类:其他好文   时间:2015-03-05 18:39:35    阅读次数:3817
html5页面点击和左右滑动页面滚动
<%@?page?contentType="text/html;charset=UTF-8"?language="java"?%> <% ????String?path?=?request.getContextPath(); ????String?basePath?=?request.getScheme()?+?"://"?+?request.g...
分类:Web程序   时间:2015-03-05 00:25:09    阅读次数:255
ueditor
1,web应用程序中添加ueditor目录(网上直接下载解压即可,最后附有下载地址)前端页面添加应用js 以及空间的容器 (@(BasePath)是网站虚拟根目录,可以不用关心) 2,controller中方法[Validate...
分类:其他好文   时间:2015-03-03 14:51:42    阅读次数:109
struts2中获得绝对路径
在struts2应用中,通过获得绝对路径,简化代码: 方法一:  修改表单提交路径为绝对路径:    /user/login" method="post"/> 方法二:   表单提交路径不修改,但是:    1.在页面中添加如下代码:             String basePath=request.getScheme()+        "://"+request.ge...
分类:其他好文   时间:2015-02-08 09:08:48    阅读次数:140
Struts2之单文件上传
1 界面 String path = request.getContextPath(); String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/"; %> "> My JSP 'index.jsp' start...
分类:Web程序   时间:2015-02-02 18:06:59    阅读次数:268
ci源码解析之CodeIgniter.php
ci/core/CodeIgniter.php是ci框架的核心处理文件,其处理流程如下:1require了3个文件BASEPATH core/Common.php core/Compat.php APPPATH config/constants.php2加载Benchmark,并打时间戳3加载Hooks,并调用钩子pre_system4加载Config、URI、Input和Language5加载并解析Rou..
分类:Web程序   时间:2015-01-29 19:44:10    阅读次数:205
325条   上一页 1 ... 25 26 27 28 29 ... 33 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!