- 浏览: 29519 次
- 性别:
- 来自: 广州
最新评论
-
danielchen19:
信息: ExtensionValidator[/Connect ...
部署了项目,但运行Tomcat时控制台报以下错误,请问是什么原因 -
ddandyy:
要求代码是不允许的
你要的东西有JS的 去网上找吧
给了阿拉伯数字金额转换为中文大写金额的代码,如(1011.01)--->(一千零一拾一元零一分) -
ddandyy:
可真暈...........
怎麽會看到這種帖子...... ...
用java代码实现判断输入的字符串是合法的电子邮箱地址 -
danielchen19:
但现在又出现了一个连接oracle的exception
20 ...
部署了项目,但运行Tomcat时控制台报以下错误,请问是什么原因 -
danielchen19:
以上这个问题也解决了,只要重新将Tomcat 装在自定义的目录 ...
部署了项目,但运行Tomcat时控制台报以下错误,请问是什么原因
文章列表
2007-8-24 20:33:01 org.apache.catalina.core.AprLifecycleListener lifecycleEvent
信息: The Apache Portable Runtime which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jdk1.5.0_05\bin;D:\Tomcat 5.5\bin
2007-8-24 20:33:01 org.apache.coy ...
2007-8-22 16:42:49 org.apache.catalina.startup.Catalina stopServer
严重: Catalina.stop:
java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
at java.net.PlainSocketImpl.connect ...
- 2007-08-22 16:44
- 浏览 2122
- 评论(0)
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: Cannot find ActionMappings or ActionFormBeans collection
org.apache.jasper.runtime.PageContextImpl.doH ...
- 2007-08-21 12:49
- 浏览 1236
- 评论(0)
public class ConnectToOracle{
Pubic static void main(Stirng []args){
try{
Class.forName(oracle.jdbc.driver.OracleDriver);
Connection conn=DriverManager.getConnection (“jdbc:oracle:thin:@127.0.0.1:1521:feinar”, “feinar”, “feinardev” );
String sql = “select * from table<s ...
- 2007-08-14 13:21
- 浏览 1061
- 评论(0)
import java.util.*;
class AA{
public static void main(string[] args){
Calendar c = Calendar.getInstance();
c.add(Calendar.DAY_OF_MONTH, -1);
System.out.println(c.get(c.YEAR)+"年"+(c.get(c.MONTH)+1)+"月"+c.get(c.DAY_OF_MONTH)+&quo ...
- 2007-08-14 13:18
- 浏览 1098
- 评论(0)
public class Singleton{
private Singleton(){}
private static singleton instance = null;
public static synchronized Singleton getInstance{
if(instance = null){
instance = new singleton();
return instance;
...
- 2007-08-14 13:13
- 浏览 933
- 评论(0)
用java代码实现判断输入的字符串是合法的电子邮箱地址
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class CheckEmail {
public static void main(String[] args) throws IOException {
String reg = "\\w+[\\w]*@[\\w]+\\.[\\w]+$";
BufferedReader reader = new Buf ...
D:\Oracle9.2.0.1\bin>exp userid=feinar/feinardev@to252 owner=feinar file=d:\fein
ar.dmp
D:\oracle\ora92\bin
D:\Oracle9.2.0.1\bin>imp userid=daniel/122333 fromuser=feinar touser=daniel file
=d:\feinar.dmp
给了阿拉伯数字金额转换为中文大写金额的代码,如(1011.01)--->(一千零一拾一元零一分)
写一个静态递归方法把两个整数(lo&hi)之间的数相加,并返回lo和hi之间(包括lo和hi)的和,例如调用sum(2,5) 返回14(2+3+4+5)
2007-8-7 14:46:34 org.apache.catalina.core.AprLifecycleListener lifecycleEvent
信息: The Apache Portable Runtime which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jdk1.5.0_05\bin;C:\Program Files\Apache Software Foundation\Tomcat 5 ...
- 2007-08-07 14:49
- 浏览 4328
- 评论(6)
编写一个方法,查找一个大文件中指定字符串出现的次数,说明,文件过大不能一次装入内存
java算法程序题,输入三个数求哪个是最大数,先判断这三个数是否整数,不是就打印提示:请输入数字,若是就打印出那个最大数
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class CompareBigNum {
public static void main(String[] args) throws IOException {
int max;
String max1="0";
String reg ...