有那位仁兄知道怎样才能令某些特定的jsp页面不要给Sitemesh装饰呢,也就是说Sitemesh不用全部装饰工程中所有的JSP页面,只是有需要的就装饰没需要的就不用装饰,小弟初应用Sitemesh.望大虾指点迷津!
解决方案 »
- getHibernateTemplate().find,where条件为中文时查不到东西
- 【今天刚接触JAVA求大侠们不要嫌弃】
- shark 工作流
- jdk1.4和tomcat5.5不兼容么?必须jdk1.5么?
- 关于eclipse-SDK-3.1-win32+lomboz-emf-gef-jem-3.1RC1配置
- Spring中使用dataSource出错?
- j2ee or ant 配置问题?我是新人!请帮忙!万分感谢!
- 为什么使用BufferedReader和InputStream读取的中文产生的乱码不一样?
- 我是初学者,请大家帮帮忙,关于编译的问题
- weblogic问题请教
- 这是个什么命令
- hibernate 联合主键查询 请教
例如:<decorators defaultdir="/decorators">
<excludes>
<pattern>/exclude.jsp</pattern>
<pattern>/admin/*</pattern>
</excludes>
...
</decorators >注意页面的路径要指定对哈
例如: <decorators defaultdir="/decorators">
<excludes>
<pattern>/exclude.jsp </pattern>
<pattern>/admin/* </pattern>
</excludes>
...
</decorators > 注意页面的路径要指定对哈
以上方法是可以,但是如果是再次请求就不行啊,例如Login.action要转到一个页面Login.jsp <pattern>/Login.jsp </pattern>
就不行啊.URL中直接输入http://localhost:8080/auction_system/Login.jsp就行.