码迷,mamicode.com
首页 >  
搜索关键字:struts2 result chain iframe    ( 21172个结果
Struts2配置细节
struts.xml中action中配置 如果是返回到网页则 /AA/XX.jsp如果是返回到action则看namespace然后传参数,如果是同一个namespace则直接写上返回的action的名字从action传action有两种方式一种是 type="chain" 1 2 3 /3.j.....
分类:其他好文   时间:2014-06-13 07:45:04    阅读次数:291
fdm_search_info_w_book_chain
数据知识管理平台-元数据管理-fdm_search_info_w_book_chain-详细信息 fdm_search_info_w_book_chain
分类:其他好文   时间:2014-06-13 06:08:10    阅读次数:191
struts2中错误处理
定义一个 package,然后其他package都继承 这个package struts-global就 有了这个错误处理功能了然后再自己写个类struts.xml 1 2 3 --> 4 5 6 7 ...
分类:其他好文   时间:2014-06-12 22:04:47    阅读次数:215
struts2异常处理,global-results定义全局结果处理
定义全局结果处理在struts.xml中 1 2 5 6 7 8 --> 9 10 11 12 errorProcessor13 14 1...
分类:其他好文   时间:2014-06-12 20:39:12    阅读次数:291
Struts2常用的几个注解
开始Struts2最常用的几个注解的学习吧。@Action使用@Action注解改变Conventionplug约定的action与url之间的映射关系。废话少说代码说事儿。packagecom.ponpon.actions; importorg.apache.struts2.convention.annotation.Action; importcom.opensymphony.xwork2.ActionSupport..
分类:其他好文   时间:2014-06-10 21:11:09    阅读次数:248
a标签的链接在iframe内打开遇到的问题
项目中遇到一个问题:首页一级标题点击之后的子页面不能在页面下方的iframe内打开,会在浏览器里新开一个tab。同样的代码,只是个别同事会碰到这个问题,在大多数电脑上都是ok 的。 由target控制子页面打开的位置,一目了然,代码里面的target是iframe的id,所以大家都纳闷了好久。...
分类:其他好文   时间:2014-06-10 19:52:07    阅读次数:245
[LeetCode OJ] Single Number之二 ——Given an array of integers, every element appears THREE times except for one. Find that single one.
1 class Solution { 2 public: 3 int singleNumber(int A[], int n) { 4 int bits = sizeof(int)*8; 5 int result=0; 6 for(int i...
分类:移动开发   时间:2014-06-10 19:45:48    阅读次数:334
Struts2中使用Velocity模板时模板资源路径配置问题
在Struts2中使用Velocity模板时,如何以相对与Web工程的路径来配置模板资源文件路径这个问题网上千篇一律的来自Velocity官方文档。官方文档中指出如果是Web工程的话,模板的相对路径是工程根路径,今天在使用的时候有如下配置:Velocity.properties(默认在WEB-INF下):resourc..
分类:其他好文   时间:2014-06-10 18:54:14    阅读次数:359
Struts2整体回顾 之 Action,拦截器,值栈及关联关系
Struts2整体回顾 之 Action,拦截器,值栈及关联关系...
分类:其他好文   时间:2014-06-10 18:21:31    阅读次数:235
Leetcode: Container With Most Water
The most strait forward approach is calculating all the possible areas and keep the max one as the result. This approach needs O(n*n) time complexity,...
分类:其他好文   时间:2014-06-10 16:11:31    阅读次数:184
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!