上一页 1 ··· 26 27 28 29 30 31 32 33 34 ··· 48 下一页
摘要: The Struts dispatcher cannot be found. This is usually caused by using Struts tags without the associated filter. Struts tags are only usable when the request has passed through its servlet filter, which initializes the Struts dispatcher needed for 问题描述:The Struts dispatcher cannot be found. This .. 阅读全文
posted @ 2012-07-03 21:15 Alamps 阅读(207) 评论(0) 推荐(0) 编辑
摘要: html在线编辑器对于我们作新闻产品之类的程序是很重要的,FCKeditor,跨平台的1.下载FCKeditor.java 2.3 (FCKeditot for java)FCKeditor 2.5 (FCKeditor基本文件)以下是下载地址:http://www.fckeditor.net/download/default.html2.建立项目:建立项目tomcat/webapps/TestFCKeditor.3.将FCKeditor2.2解压缩将FCKeditor2.2解压缩,将整个目录FCKeditor复制到项目的根目录下,目录结构为:tomcat/webapps/TestFCKedi 阅读全文
posted @ 2012-06-30 11:01 Alamps 阅读(208) 评论(0) 推荐(0) 编辑
摘要: struts-config.xml<form-bean name="checkForm" type="org.apache.struts.validator.DynaValidatorForm"><form-property name="rand" type="java.lang.String" /></form-bean><actionattribute="checkForm"input="/check/check.jsp"name 阅读全文
posted @ 2012-06-30 10:59 Alamps 阅读(109) 评论(0) 推荐(0) 编辑
摘要: 部署项目到tomcat中出现一个“黄叹号!”。报错如下:(1) Deployment is out of date due to changes in the underlying project contents. You'll need to manually 'Redeploy' the project to update the deployed archive. (2)Deployment failure on Tomcat 6.x. Could not copy all resources to D:/.../webapps/eptInfo. If a fi 阅读全文
posted @ 2012-06-30 10:44 Alamps 阅读(649) 评论(0) 推荐(0) 编辑
摘要: 1、使用Spring自带的DriverManagerDataSource 配置文件<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN""http://www.springframework.org/dtd/spring-beans.dtd"><beans><!—设定dataSourceà<bean id=”dataSource” class 阅读全文
posted @ 2012-06-25 17:34 Alamps 阅读(408) 评论(0) 推荐(0) 编辑
摘要: 在Spring3中,配置DataSource的方法有五种。 第一种:beans.xml Xml代码 <bean id="dataSource" class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close"> <property name="driverClassName" value="com.microsoft.sqlserver.jdbc.SQLServerDriver" /> <p 阅读全文
posted @ 2012-06-25 17:32 Alamps 阅读(399) 评论(0) 推荐(0) 编辑
摘要: 用JoyToKey使游戏手柄变键盘或鼠标除了用手柄来玩游戏外,你有没有想过利用手柄做点别的什么事情呢?其实,只要结合一个非常小巧的游戏控制器增强软件JoyToKey,我们就能最大限度地挖掘手柄的潜力,用它来完成在以前看来“不可能完成的任务”。 JoyToKey是一款用手柄模拟键盘、鼠标的软件,它可以将手柄输入转换成键盘或者鼠标的输入。更为难得的是,该软件支持几乎所有的游戏手柄,连低端的仿PS的并口手柄也不例外。 一、手柄玩转键盘游戏 目前还有很多游戏不支持手柄,例如笔者非常喜欢的泡泡堂这款网络游戏,由于无法使用手柄来进行操纵,再加上笔者对键盘上控制方向的按键不是很熟悉,所以每次都被网友打... 阅读全文
posted @ 2012-06-22 20:47 Alamps 阅读(6595) 评论(0) 推荐(0) 编辑
摘要: XML是一种优秀的数据打包和数据交换的形式,在当今XML大行于天下,如果没有听说过它的大名,那可真是孤陋寡闻了。用XML描述数据的优势显而易见,它具有结构简单,便于人和机器阅读的双重功效,并弥补了关系型数据对客观世界中真实数据描述能力的不足。W3C组织根据技术领域的需要,制定出了XML的格式规范,并相应的建立了描述模型,简称DOM。各种流行的程序设计语言都纷纷根据这一模型推出了自己的XML解析器,在JAVA世界里,APACHE组织开发的XERCES应该是流行最广功能最为强大的XML解析器之一。但是由于W3C在设计DOM模型时,并不是针对某一种语言而设计,因此为了通用性,加入了许多繁琐而不必要的 阅读全文
posted @ 2012-06-12 14:03 Alamps 阅读(294) 评论(0) 推荐(0) 编辑
摘要: 修改myEclipse8.5的默认的工作空间当我们用MyEclipse进行开发时,如MyEclipse8.5,每次启动默认的工作空间为C:\DocumentsandSettings\Administrator\Workspaces\MyEclipse8.5而有时我们希望在启动MyEclipse时就进入我们所设置的工作空间,其设置如下:修改如下配置文件,可以解决该问题:"D:\ProgramFiles\MyEclipse\MyEclipse8.5\configuration\config.ini"该目录为MyEclipse的安装根目录下configuration目录下的con 阅读全文
posted @ 2012-06-11 22:08 Alamps 阅读(200) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2012-06-08 17:26 Alamps 阅读(2) 评论(0) 推荐(0) 编辑
上一页 1 ··· 26 27 28 29 30 31 32 33 34 ··· 48 下一页