${base}/scripts/jquery-1.4.3.js // ${base} 表示地址是:访问地址+/WebContent/
// 设置默认包路径
<constant name="struts.convention.package.locators.basePackage"
value="com.xxxx.orion" />
//设置默认查找的包名
<constant name="struts.convention.package.locators" value="action" />
//默认的在访问地址后加上Action;
//例如:访问地址是:${pageContext.request.contextPath}/Login!login.do
//经过以下配置后,表示访问的是 com.xxxx.orion/action/LoginAction 中的 login()方法。
<constant name="struts.convention.action.suffix" value="Action" />
=================================================================
//对返回结果进行配置
//结果存放的位置;
<constant name="struts.convention.result.path" value="/WEB-INF/template/" />
//对结果的名字是否转换为小写;
<constant name="struts.convention.action.name.lowercase" value="false" />
//两个单词之间是否用符号隔开;
<constant name="struts.convention.action.name.separator" value="" />
//例如:访问地址是:${pageContext.request.contextPath}/Login!login.do
//经过以下配置后,表示访问的是 com.xxxx.orion/action/LoginAction 中的 login()方法。
//执行完方法后,默认的在访问地址后去掉Action;
//再调用 /WEB-INF/template/Login.ftl (返回type=freemarker)
//表示默认调用哪个package
<constant name="struts.convention.default.parent.package" value="orion-default" />
<package name="orion-default" extends="convention-default, json-default">
</package>
//Freemarker.properties 的配置 ,在页面中 <@js XXXX> 或者 <@cm XXXX> 调用
auto_import="/WEB-INF/template/inc/jquery.ftl" as js,
"/WEB-INF/template/inc/page_comm.ftl" as cm
详细解决方案
项目配备说明_note.
热度:230 发布时间:2012-10-07 17:28:51.0
相关解决方案
- CSS Note 一
- JS + JQUERY > note 一
- note.js,该怎么解决
- 请问html中<a href=Note?status=selectall>的含义
- NOTE!NOTE
- 编译出错!Note: E:\design-houq\TongJi.java uses unchecked or unsafe operations,该如何解决
- 只为“技术性击倒”iPhone5?三星Galaxy Note 二消息汇总
- iphone note -六
- Datawindow does note have UPDATE capbility解决思路
- 建一个文件“note.txt“,然后通过控制台输入的每一行字符串都按行写入到 * note.txt中。当输入的字符串为“exit“时退出程序。
- [study-note]置换群-〉循环 变换函数
- note:.Net 与Java
- shell note
- Grails note
- 求助:Note: log switch off, only log_main and log_events will have logs!
- 【Paper Note】Support Vector Clustering 论文翻译(未完待续)
- Python Note [4] dict amp;amp;amp; set
- Python Note 2 list、tuple用法
- Python Note [1] 基本知识
- WAITEVENT: read by other session Reference Note
- common note
- Python note (one)
- X Note(1)
- CocoaPods Note: as of CocoaPods 1.0, `pod repo update` does not happen on `pod install
- [program skill note]
- [c error note]
- [Note]关于Python中文编码出现乱码的解决方案(涉及urllib.urlopen(),open()等函数)
- [BABEL] Note: The code generator has deoptimised the styling of .js as it exceeds the max of 500KB.
- 郭明錤:Galaxy Note 10有6.5、6.7英寸两种机型
- DOMException: Failed to execute ‘insertBefore‘ on ‘Note‘解决方法