
struts
iteye_12528
这个作者很懒,什么都没留下…
展开
-
使用Struts的通配符配置创建SEO形式的URL
1.什么是SEO SEO: Search Engine Optimization 搜索引擎优化。简单的说就是对搜索引擎友好,利于自己的网站被搜索引擎收录。用Struts产生的URL http://.../xxx.do?method=aaa&id=123 不是搜索引擎友好的。我以前是用servlet来转换URL。 2.Struts的通配符配置 Struts1.2.x中对配置文件新增加了通配...2007-02-10 10:13:00 · 136 阅读 · 0 评论 -
Migrating Struts Apps to Struts 2 (转)
这是InfoQ上的系列文章. http://www.infoq.com/cn/ http://www.infoq.com/articles/converting-struts-2-part1 http://www.infoq.com/articles/migrating-struts-2-part2 http://www.infoq.com/articles/migrating-struts-2...2007-04-08 00:43:51 · 103 阅读 · 0 评论 -
用Struts通配符配置导航
想映射如下URL到Action的指定方法/user/Account.do -> AccountAction.init()/user/Account/create.do -> AccountAction.create()/user/Blog/list.do -> BlogAction.list() 在struts-config.xml中配置如下 <action path=...2008-10-08 10:39:02 · 112 阅读 · 0 评论