在firefox中有二个非常有用的插件,可以直接得到html页面中元素的XPath:
- XPath Checker - suggests XPath and can be used to test XPath results.
- Firebug - XPath suggestions are just one of the many powerful features of this very useful add-on.
{"type":"编程笔记"}
在firefox中有二个非常有用的插件,可以直接得到html页面中元素的XPath:
通过rhino可以使javascript调用java的标准类库,这使得javascript的编程能力得以强化,在服务器端已经有javascript的mvc框架,一般也是基于rhino的。
首先在ubuntu上可以通过命令安装rhino:
在ubuntu中安装tidy只要输入命令:
从http://www.bisigi-project.org/?page_id=8&lang=en上下载安装,在ubuntu上用apt-get安装很简单: