使用jsp / servlets清理URL? [英] Clean URLs using jsp/ servlets?

查看:132
本文介绍了使用jsp / servlets清理URL?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我打算使用jsp和servlet创建一个CMS。谁能告诉我如何使用这种技术实现干净的网址?

I am planning to make a CMS using jsp and servlets. Could anyone tell me how to implement clean urls using this technologies?

推荐答案

您可以尝试使用urlrewritefilter: http://code.google.com/p/urlrewritefilter/ 。这使用servlet过滤器和xml文件来允许应用程序具有干净的URL。干净网址的构建将由您自己负责。

You could try using urlrewritefilter: http://code.google.com/p/urlrewritefilter/. This uses a servlet filter and an xml-file to allow your application to have clean url's. The construction of the clean url's would be your own responsibility.

这篇关于使用jsp / servlets清理URL?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆