- 浏览: 183743 次
- 性别:
- 来自: 武汉
-
文章分类
- 全部博客 (100)
- git (1)
- j2ee (7)
- python (9)
- mysql (1)
- php (9)
- android (6)
- 翻译 (0)
- web 前端 (3)
- ruby (0)
- java (8)
- 读书 (1)
- object-c 之 iphone (9)
- scala (19)
- iphone (13)
- c/c++ (3)
- apache (2)
- javascript (5)
- vi (1)
- lift (5)
- jquery (1)
- dos (1)
- java解惑 (1)
- excel函数 (1)
- 软件开发 (2)
- wxwidget (2)
- mac (1)
- virtualbox (1)
- discuz (2)
- struts2 (2)
- jsp (1)
- object-c (5)
- http (1)
- codeigniter (1)
- django (1)
- regx (1)
最新评论
-
a564941464:
一样
Initializers -- object-c中的alloc init的解释 -
pj7670623:
幸好有~~~有道!!不然咋看的懂哦!
Initializers -- object-c中的alloc init的解释 -
higherzjm:
[flash=200,200][/flash][url][/u ...
用jdb调试Java程序
以下英文引用自:http://simply.liftweb.net/index-3.3.html#toc-Subsection-3.3.1
路径映射由SiteMap控制,如果有的话(Boot.scala文件中).
最简单的映射机制是一对一的映射,将URL路径映射到/src/main/webapp目录下,如果URL是/index,那lift会查找/src/main/webapp/index.html文件,前提是SiteMap未设置.
引用
Once the access control is granted by SiteMap, Lift loads the view related to the URL. There are many mechanisms that Lift uses to resolve a path to a view, but the simplest is a one to one mapping between the URL path and the files in /src/main/webapp. If the URL is /index, then Lift will look for the localized (see 8.1 on page 1↓) version of /src/main/webapp/index.html. Once Lift loads the template, Lift processes it to transform it into the dynamic content you want to return in response to the URL input.
路径映射由SiteMap控制,如果有的话(Boot.scala文件中).
最简单的映射机制是一对一的映射,将URL路径映射到/src/main/webapp目录下,如果URL是/index,那lift会查找/src/main/webapp/index.html文件,前提是SiteMap未设置.
发表评论
-
Nil
2011-09-28 11:41 794关于scala中的Nil: 关于函数当参数: -
In Scala, every defined variable has to be initialized at the point of its definit
2011-09-28 11:31 815In Scala, every defined variable ... -
scala中的case class
2011-09-27 21:43 832scala中的case class中的字段不需要显式声明即可直 ... -
scala中的基本类型的表示
2011-09-27 20:24 0引用Byte 8-bit signed 2's comple ... -
scala中将doule转换为int
2011-09-27 17:28 897(100.12).toInt (100.12).asInst ... -
scala中的协变,逆变
2011-08-14 02:45 1037trait Queue[+T] { ... } Prefixin ... -
scala中的for表达式
2011-08-11 23:58 918通常,scala中for表达式有如下形式: for ( seq ... -
Lift项目的生成、配置和运行
2011-08-07 15:49 9711. 安装Maven,配置好环 ... -
Scala levels: beginner to expert, application programmer to library designer
2011-08-05 15:11 966Scala is a bit of a chameleon. ... -
scala match compared to java switch
2011-08-03 11:00 971There are three differences to ... -
scala中xml mode
2011-07-31 23:04 1053class varval(x:String,var y:Str ... -
scala中类的var val参数
2011-07-31 23:03 1319class varval(x:String,var y:Str ... -
scala 中的修饰符 private
2011-07-31 22:30 994Example 5.2.1 The following cod ... -
scala中的预先定义
2011-07-31 22:08 990Early definitions are particular ... -
scala 函数声明使用返回值时要用=号
2011-07-31 20:30 2589class Operators{ def retStri ... -
lift中的snippet中报错not found
2011-07-31 12:17 1289报错代码信息: Snippit with incorrect ... -
scala+lift+maven+eclipse 环境配置
2011-07-25 09:00 2090下面是在网上google时,看到的一篇在eclipse中配置 ... -
scala保留字
2011-07-18 14:58 1195abstract case catch class def ... -
scala中的require说明
2011-07-05 13:30 1141The require method is defined in ... -
scala unit
2011-07-02 20:24 1095A result type of Unit indicates ...
相关推荐
- **潜在因子模型**:通过将用户和物品映射到低维潜空间中,以捕捉用户和物品之间的隐含关系。 #### 7. PageRank - **定义**:由Google发明的网页排名算法,基于网页之间的链接结构进行排序。 - **原理**:每个...
在`Lift_1618979415`这个文件中,很可能包含了实现上述功能的源代码和资源文件。通过对这些文件进行编译和调试,我们可以看到一个简单的电梯模拟系统如何运作。通过分析和学习这个程序,开发者可以加深对MFC框架的...
这会将 Sails.js 安装到你的系统路径中,让你可以在任何目录下运行 `sails` 命令。 2. **创建项目** 创建一个新的 Sails.js 项目,可以使用 `sails new` 命令,例如: ``` sails new simple-app ``` 这会在...
在描述中提到的“npm install -g”,这表示全局安装一个名为“帆”的包,这里的“-g”标志意味着安装到全局路径下,这样可以在任何项目中使用。 3. **帆 (Sails)**: “帆”很可能指的是Sails.js,这是一个基于...
例如,`'GET /inventory': 'InventoryController.read'`表示访问/inventory路径时,调用`InventoryController`的`read`方法。 对于视图部分,Sails默认使用EJS模板引擎。在`views`目录下创建`inventory`子目录,并...