
WEB
文章平均质量分 76
hhdem
这个作者很懒,什么都没留下…
展开
-
x标签在resin3中的错误解决
近期使用roller和resin3时出现如下错误:ERROR 2008-10-06 20:16:61,364 InsertTag$InsertHandler:doEndTag - ServletException in /WEB-INF/jsps/admin/rollerProperties.jsp: /WEB-INF/jsps/admin/rollerProperties.jsp:1: Il原创 2008-11-07 13:47:00 · 873 阅读 · 0 评论 -
一个基于ajax的api查询的网站
http://www.gotapi.com/一个基于ajax的api查询的网站,太强了!!原创 2007-04-11 18:05:00 · 388 阅读 · 0 评论 -
XHTML笔记
1、如果你将网站加入收藏夹,可以看到在收藏夹网址之前的IE图标变成了本站特别的图标。要实现这样效果很简单,首先制作一个16x16的icon图标,命名为favicon.ico,放在根目录下。然后将下面的代码嵌入head区: 2、XHTML是HTML向XML过渡的标识语言,它需要符合XML文档规则,因此也需要定义名字空间。又因为XHTML1.0不能自定义标识,所以它的名字空间都相同,就是htt转载 2007-08-03 10:11:00 · 316 阅读 · 0 评论 -
正则表达式学习+ExpressoSetup2_1C
Learning .NET Regular Expressions with ExpressoDid you ever wonder what Regular Expressions are all about and want to gain a basic understanding quickly? My goal is to get you up and running with a转载 2007-08-03 10:31:00 · 437 阅读 · 0 评论 -
转:JspSmart之upload组件源码及使用
一、安装篇 jspsmartupload是由 [url]www.jspsmart.com 网站开发的一个可免费使用的全功能的文件上传下载组件,适于嵌入执行上传下载操作的jsp文件中。该组件有以下几个特点:[/url] 1、使用简单。在jsp文件中仅仅书写三五行java代码就可以搞定文件的上传或下载,方便。 2、能全程控制上传。利用jspsmartupload组件提供的对象及其操作方法,可以获得转载 2007-05-09 11:14:00 · 777 阅读 · 0 评论 -
resin3 和 jstl1.1的配置问题
前几天,一个系统从resin 2升级到resin3得时候遇到的问题,如下:javax.servlet.jsp.JspException: An error occurred while evaluating customaction attribute "value" with value "${title.ID}": Unable to find a valuefor "ID" in原创 2007-08-14 15:48:00 · 764 阅读 · 0 评论 -
转:inside firefox
The story of Mozilla is long and rich in detail. There are many perspectives. This is mine. Getting InvolvedI got involved with Mozilla because I loved the idea of working on something that had th转载 2007-05-16 18:27:00 · 447 阅读 · 0 评论 -
转:resin的 HTTP 和 Host 的配置
HTTP and Srun configuration is identical except for load balancing (srun and srun-backup.)HTTP configuration follows the Servlet 2.2 deployment descriptors. The nesting depth is important, but order转载 2007-04-07 11:14:00 · 1419 阅读 · 0 评论 -
转:Resin的安装和配置
Resin的安装和配置Resin 可以在 http://www.caucho.com/download/index.xtp 免费下载和使用。使用Resin开发或者学习是免费的,但是如果把Resin作为收费产品发布是需要付费的。目前的版本是2.10。下载Resin 时选择Archive Versions 中的 windows.zip的普通安装包resin-2.1.0.zip。把该原创 2007-04-04 18:18:00 · 1683 阅读 · 0 评论 -
转:Web 2.0 用户界面技术
在用户界面方面,当今的企业应用程序开发人员受到来自用户和运营部门的双重压力。一方面,代表用户的业务部门希望应用程序具有丰富的用户界面,能够最大限度地提高用户的工作效率。他们希望所有应用程序都表现得像 Microsoft 的 Excel 或者其他客户机应用程序一样。希望应用程序能够提供即时响应。此外,若有相同数据的多个视图(例如,一个表格视图和一个图形视图),那么还希望在其中一个视图中进行修改时,其转载 2007-03-15 13:47:00 · 504 阅读 · 0 评论 -
Photoshop图层混合模式计算公式大全
Photoshop图层混合模式计算公式大全 关于photoshop的图层混合模式,大家一定都非常熟悉了,我在这里把各种混合模式的计算公式都详细的描述 一便,希望能够对大家理解图层的混合模式有所帮助,编写仓促,不足之处请多批评指正。混合模式可以将转载 2007-01-25 19:15:00 · 1994 阅读 · 0 评论 -
转:JSP上传图片并生成缩略图
转载 2007-01-25 14:15:00 · 384 阅读 · 0 评论 -
struts中资源包的应用--实例讲解
输入您的搜索字词 提交搜索表单 Many programmers new to struts often encounters difficulties in handling the functionalit转载 2007-03-14 13:08:00 · 1141 阅读 · 0 评论 -
转:Pager Tag Library v2.0
OverviewThe Pager Tag Library is the easy and flexible way to implement paging of large data sets in JavaServer Pages (JSP). It can emulate all currently known paging styles with minimal effort. It转载 2007-03-17 11:36:00 · 584 阅读 · 0 评论 -
转:Struts Message Resources 以及和 jstl 的结合
总览 <!--doad125x125();--> 许多刚刚学习Struts的程序员在使用Struts的MessageResources特性的时候会遭遇很多困难。本文将试图阐述MessageResour转载 2007-03-14 11:24:00 · 566 阅读 · 0 评论 -
转:dojo 的实例 HelloWorld
Introduction The purpose of this tutorial is to provide a starting point for users who are new to Dojo. Whilst every effort is made to introduce as much as possible about Dojo, it is impossible to i转载 2007-03-23 08:49:00 · 970 阅读 · 0 评论 -
转:在JavaScript中调用WebService
function PostRequestData(URL,data){ var xmlhttp = new ActiveXObject("Microsoft.XMLHTTP"); xmlhttp.Open("POST",URL, false); xmlhttp.SetRequestHeader ("Content-Type","text/xml; charset=utf-8"); xmlhttp转载 2007-03-24 15:30:00 · 371 阅读 · 0 评论 -
用 XDoclet 減少程式碼膨脹
級別: 入門Sing Li, 作者2004 年 11 月 05 日開放原始程式碼的 XDoclet 程式碼產生引擎,是許多領先的 Java 框架不可缺少的組成部分,常常被用作屬性導向的程式設計和持續整合的引擎。但是 XDoclet 還有一些不太惹人注目的地方:對初級開發人員來說,它太難掌握、太難精通。在這篇文章中,熱門作者 Sing Li 以 XDoclet 為物件,揭示了其內部簡單卻转载 2007-05-28 09:57:00 · 588 阅读 · 0 评论 -
嵌入式servlet容器Jetty介绍
Jetty 是一个开源的servlet容器,它为基于Java的web内容,例如JSP和servlet提供运行环境。Jetty是使用Java语言编写的,它的API以一组JAR包的形式发布。开发人员可以将Jetty容器实例化成一个对象,可以迅速为一些独立运行(stand-alone)的Java应用提供网络和web连接。 嵌入式Servlet容器的意义何在?在你采用Jetty之前,理智的做法是首先问转载 2007-06-05 09:02:00 · 2311 阅读 · 0 评论 -
Groovy和Grails简介
摘要 Java Web应用程序框架是企业Java得以成功的重要原因之一。人们怀疑如果没有Apache Struts框架Java EE是否能够如此成功。虽然底层编程语言很重要,但通常是框架使编程语言成为引人注目的中心的。如果您经常访问讨论论坛,就会注意到Ruby语言和Ruby On Rails框架之间也是这种情况。Ruby已经出现十多年了,然而只是在Ruby On Rails框架流行之后,开发转载 2007-11-16 15:41:00 · 451 阅读 · 0 评论 -
Nutch 里面 failed with: java.lang.NullPointerException 解决
failed with: java.lang.NullPointerException 需要在nutch的配置文件 conf/nutch-site.xml. 里设置如下,不然就报上面的错误了。当然在crawl-urlfilter.txt里面也要相应于 urls/url.txt里的域名进行设置。 http.agent.name MySearch My Search En原创 2007-11-21 14:05:00 · 949 阅读 · 0 评论 -
JSON简介
作者:Daniel Rubio摘要 XML——这种用于表示客户端与服务器间数据交换有效负载的格式,几乎已经成了Web services的同义词。然而,由于Ajax和REST技术的出现影响了应用程序架构,这迫使人们开始寻求`XML的替代品,如:JavaScript Object Notation(JSON)。 JSON 作为一种更轻、更友好的 Web services客户端的格式(多转载 2008-02-20 08:48:00 · 390 阅读 · 0 评论 -
freemarker 使用的过程
#setting number_format="currency"/>#assign answer=523/>${answer}${answer?string} ${answer?string.number}${answer?string.currency}${answer?string.percent} 输出结果是:$523.00$523.00523$523.00原创 2007-12-14 14:30:00 · 635 阅读 · 0 评论 -
spring 表单提交的时候,属性为整型,页面值为空串时无法转换为空指针的解决
spring 表单提交的时候,属性为整型,页面值为空串时无法转换为空指针 。在你的派生类里重写commandcontrollor 的initBinder方法 protected void initBinder(HttpServletRequest request, ServletRequestDataBinder binder) throws Exc原创 2008-04-15 10:58:00 · 551 阅读 · 0 评论 -
Spring的表单标签库
13.9. 使用Spring的表单标签库 - Spring Framework reference 2.0.5 参考手册中文版13.9. 使用Spring的表单标签库从2.0开始,Spring提供全面的,支持数据绑定的JSP标签来处理表单元素(如果你使用JSP和Spring的Web MVC框架的话)。 每个标签所支持的属性跟其对应的HTML标签相同,这样这些标签转载 2008-04-14 17:37:00 · 3226 阅读 · 0 评论 -
天生一对"Maven2+Jetty" -- Maven2创建并管理WebApp,并使用Maven Jetty Plugin在Eclipse中调试
http://www.blogjava.net/alwayscy/archive/2007/05/19/118584.aspx转载 2008-07-15 21:47:00 · 418 阅读 · 0 评论 -
Jquery 使用
Jquery的这套选择符是比较帅气的,借用了XPath2.0和CSS1-3中的语法,并且兼容了多个浏览器,让原本非常复杂的DOM,一下子变得简单起来了,手中最新的版本是1.2.2b,下面的所有例子,也是根据此版本提供的例子。测试HTML代码:div id="father"> div id="first">I am firstdiv> div id="second" cl转载 2008-10-17 00:38:00 · 577 阅读 · 0 评论 -
v2ex的按钮样式
由v2ex的回复页面的源码而来 html> head> style type="text/css">... body, html {...}{ margin: 0px; padding: 0px; font-family: "Lucida Grande"原创 2007-10-16 17:27:00 · 546 阅读 · 0 评论 -
A dwr example : Fast Address Entry
When you tab out of the "postcode" field the browser calls the onchange event, which calls the fillAddress() function:function fillAddress() ...{ var postcode = dwr.util.getValue("postcode");转载 2007-10-08 10:54:00 · 753 阅读 · 0 评论 -
应用OSCache提升J2EE系统运行性能
作者简介肖菁,软件工程师,IBM developerWorks/Bea dev2dev/sun 技术开发者撰稿人,主要研究J2EE、web services以及他们在websphere、weblogic平台上的实现,拥有IBM的 Developing With Websphere Studio证书。您可以通过guilaida@163.com和作者取得联系,或者查看作者的主页获取更多信息。转载 2007-09-03 21:56:00 · 468 阅读 · 0 评论 -
Two Servlet Filters Every Web Application Should Have
Two Servlet Filters Every Web Application Should Haveby Jayson Falkner11/19/2003 //<![CDATA[var ord = (ord != null ? ord : Math.random()*10000000000000000 );document.write(); //]]>转载 2007-09-03 22:17:00 · 691 阅读 · 0 评论 -
Compass读文档笔记
出处:http://www.matrix.org.cn/thread.shtml?topicId=48171&forumId=32Compass读文档笔记 Compass是基于Lucene 的更高层的抽象,假如你正打算做关于搜索方面的模块的话,那我建议你使用Compass,他提供了可配置方案,而且比Lucene更加容易使用。如果你的系统中使用Spring, Hibernate,JDO,转载 2007-09-11 12:30:00 · 1085 阅读 · 0 评论 -
DWR: Easy AJAX for JAVA
DWR是一个Java开源库,帮助你实现Ajax网站。它可以让你在浏览器中的Javascript代码调用Web服务器上的Java,就像在Java代码就在浏览器中一样。DWR主要包括两部分: 在服务器上运行的Servlet来处理请求并把结果返回浏览器。 运行在浏览器上的Javascript,可以发送请求,并动态改变页面。DWR会根据你的Java类动态的生成Javasc转载 2007-09-08 14:22:00 · 438 阅读 · 0 评论 -
详解Spring Web MVC中的DispatcherServlet类
Spring的Web MVC框架是围绕DispatcherServlet这个类设计的,DispatcherServlet是FrameworkServlet的子类,不仅完全与Spring的IoC容器紧密集成,而且允许开发人员充分利用Spring的每一种功能特性。 在一个理想的MVC环境中,通信是单向的。但在实际应用中,当在一个 Web 应用程序中实现 MVC 时,Model、View 和 Co转载 2007-09-11 15:08:00 · 2447 阅读 · 0 评论 -
Hibernate中DetachedCriteria的使用
Criteria對SQL進行封裝,讓開發人員可以用物件的方式來對資料庫進行操作,例如下面的查詢User表格中的所有資料:Criteria criteria = session.createCriteria(User.class);// 查詢user所有欄位List users = criteria.list();Iterator iterator = users.iterator();Sys转载 2007-09-21 16:45:00 · 3796 阅读 · 1 评论 -
Microsoft Windows中使用Apache
在Microsoft Windows中使用Apache此文档阐述了如何在Microsoft Windows平台上安装、配置和运行Apache 2.2 。 如果你发现了bug,或者希望以其他方式作出贡献,请使用我们的bug报告页面。本文档的大多数内容假定你是从一个二进制发布版安装Apache到Windows上。 如果你想自己编译Apache(可能有助于开发和跟踪bugs),参看编译W转载 2007-10-19 11:06:00 · 1904 阅读 · 0 评论 -
spring的InitializingBean介绍
InitializingBean Spirng的InitializingBean为bean提供了定义初始化方法的方式。InitializingBean是一个接口,它仅仅包含一个方法:afterPropertiesSet()。Bean实现这个接口,在afterPropertiesSet()中编写初始化代码:package research.spring.beanfactory.转载 2007-09-27 10:44:00 · 13851 阅读 · 3 评论 -
转:HTML tag
HTML tagDefinition and UsageThe base element specifies a base URL for all the links in a page.Differences Between HTML and XHTMLIn HTML the tag has no end tag.In XHTML the tag must be转载 2007-01-10 10:47:00 · 569 阅读 · 0 评论 -
转:Jakarta Project: i18n Tag library
Overview The i18n custom tag library contains tags that help manage the complexity of creating internationalized web applications. These tags provide similar (though not identical) functionality t转载 2007-01-10 09:54:00 · 770 阅读 · 0 评论 -
解决 java.util.MissingResourceException: Can't find bundle for base name com...config, locale zh_CN 错误
Solve java.util.MissingResourceException: Cant find bundle for base name com...config, locale zh_CNat java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:836)at java.util.Res转载 2006-09-18 10:54:00 · 8703 阅读 · 1 评论