文件路径都用struts的<html:rewrite>来render一下就好了。
具体说明在
http://struts.apache.org/struts-doc-1.2.x/userGuide/struts-html.html#rewrite
具体说明在
http://struts.apache.org/struts-doc-1.2.x/userGuide/struts-html.html#rewrite
解决方案 »
- SSH框架加载顺序
- missing for message错误怎么回事
- 烦死了 jsp:plugin 加载
- 100分求助:org.hibernate.exception.GenericJDBCException: could not execute query
- [求救]为什么同样的程序在Jcreator中能运行,而在Eclipse中却报错?
- 菜鸟问题:为什么不能通过编译呢?
- 数据库处理问题
- 在jbuilder9里使用jdbc连接sql server2000数据库问题
- entity bean发布到weblogic的时候,总是报找不到数据库中表的错误!大家帮忙解疑,到底是怎么回事呢?急……
- 关于ejb及其部署等若干问题。
- 高分求助,关于struts+hibernate
- (求助)Struts的ApplicationResources文件的解析.
在<head ></head>里加<html:base />
页面资源路径全用实际的相对路径,不用管action的module和mapping url是什么。也可以用
<c:url value="/admin/commissary/xxx.gif">的方式,比较麻烦一点.