码迷,mamicode.com
首页 >  
搜索关键字:domain controller    ( 14266个结果
jQuery 跨域访问问题解决方法
浏览器端跨域访问一直是个问题, 多数研发人员对待js的态度都是好了伤疤忘了疼,所以病发的时候,时不时地都要疼上一疼.记得很久以前使用iframe 加script domain 声明,yahoo js util 的方式解决二级域名跨域访问的问题.时间过得好快,又被拉回js战场时, 跨域问题这个伤疤又开...
分类:Web程序   时间:2014-08-20 12:10:22    阅读次数:320
springMVC之文件上传
1. 引入Jar包 commons-fileupload-1.2.2.jar commons-io-2.1.jar 2.user-servlet.xml中配置文件上传 3. UserController.java @Controller @RequestMapping("/user") public class UserContr...
分类:编程语言   时间:2014-08-20 01:27:05    阅读次数:193
springMVC实现增删改查(RESTful)
一、核心原理 1. 用于发送请求给服务器: /home.htm 2. 请求被DispatchServlet拦截到 3. DispatchServlet通过HandleMapping检查url有没有对应的Controller, 如果有则调用Controller 4. Controller开始执行业务逻辑 5. Controller执行完毕后, 如果返回字符串, 则Vie...
分类:编程语言   时间:2014-08-20 00:01:35    阅读次数:540
forward:hello 与 redirect:hello的区别
对于某些Controller的处理方法,当返回值为String类型时,返回的结果中可能含有forward或redirect前缀;如: 1 @Controller 2 @RequestMapping("/user") 3 public class UserController { 4 @Req...
分类:其他好文   时间:2014-08-19 22:18:15    阅读次数:295
一个图片装饰器的制作
一个图片装饰器的制作一1 首先创建工程picDecor,2 然后从对象库中,拉出Round Rect按钮到视图中,3 为了显示用户所选择的图片,需要往视图里, 添加view Controller对象,如下图4 还要一个图片视图imageView来编辑一张图片和一个windows and Bars工具...
分类:其他好文   时间:2014-08-19 19:00:55    阅读次数:344
ios ViewController 页面跳转
从一个Controller跳转到另一个Controller时,一般有以下2种:1、利用UINavigationController,调用pushViewController,进行跳转;这种采用压栈和出栈的方式,进行Controller的管理。调用popViewControllerAnimated方法...
分类:移动开发   时间:2014-08-19 18:29:45    阅读次数:471
Psql 安装问题
在openerp安装过程中报错:psql: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain so...
分类:数据库   时间:2014-08-19 12:26:05    阅读次数:154
CI 2.2.0可以使用AR模式操作Oracle 10g数据库
一、控制器 <?php if (!defined(‘BASEPATH‘)) ??? exit(‘No direct script access allowed‘); class Topics extends CI_Controller { ??? function __construct() ??? { ??????? parent::__cons...
分类:数据库   时间:2014-08-19 01:04:43    阅读次数:309
跨域访问
iframe方式嵌入页面的操作实验实验hi, this is a.html, frame below show b.htmlhi, this is b.html. this page call by localhost domain.
分类:其他好文   时间:2014-08-19 00:55:43    阅读次数:294
Spring MVC Json相关问题
以下是Spring MVC  一个Controller下的方法,返回的是Json 1: @ResponseBody 2:返回 Map  以下是代码: @RequestMapping("/checkUser") @ResponseBody public Map checkUser( String name,String param, HttpServletRequest reques...
分类:编程语言   时间:2014-08-18 18:39:42    阅读次数:249
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!