krussi rong

Ranch Hand
+ Follow
since Jan 30, 2002
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by krussi rong

Hi All,

I have a question about running application in websphere.
I have a application deploy directory like this:
myappliction
|
|
webApplication
|
|
admin
How can I run the application correctly in these ways:
http://localhost:8080/myapplication/adminor
http://localhost:8080/myapplication/admin/
19 years ago
JSP
Hi All,
I have a question about running application in websphere.
I have a application deploy directory like this:
myappliction
|
|
webApplication
|
|
admin
How can I run the application correctly in these ways:
http://localhost:8080/myapplication/adminor
http://localhost:8080/myapplication/admin/
thanks
Krussi
19 years ago
thanks for reply,
I really want to look for ways to fetch 10 records, then fetch the next ten, etc...
I read the JDBC 2.0 API, and not sure
Statement.setFetchSize(10);
Statement.setFetchDirection(forward);
can deal with my problem?
Does anyone use this and know what the exactly
above function's usage?
thanks
Krussi
Hi everyone,
I dont know how to fetch some records at a time,
example, every time I only want to fetch 10
records. Does anyone know that?
thanks
Krussi
Hi,
I use postgresql database,usually I just add
postgresql.jar file in classpath at VisualAge.
but in Studio,after I add a classpath variable of the postgresql.jar file, the
Class.forName("org.postgresql.Driver");
still can't found the Driver.
So anybody can help me about that?
thanks
Jenny
20 years ago
Hi,
I use postgresql database,usually I just add
postgresql.jar file in classpath at VisualAge.
but in Studio,after I add a classpath variable of the postgresql.jar file, the
Class.forName("org.postgresql.Driver");
still can't found the Driver.
So anybody can help me about that?
thanks
Jenny
20 years ago
Hi,
I use postgresql database,usually I just add
postgresql.jar file in classpath at VisualAge.
but in Studio,after I add a classpath variable of the postgresql.jar file, the
Class.forName("org.postgresql.Driver");
still can't found the Driver.
So anybody can help me about that?
thanks
Jenny
20 years ago
Hi,
I've just bought the voucher for scjp and registered in prometric.
now I want to register the CerManager through the
https://www.certmanager.net/~sun_s/lbln.html
after I input my last name and my studentID that I get from prometric,
it gave me the system was unable to locate my
demographics record.
does anybody know how to do that?
thanks
Krussi
Hi,
Yes, it's exactly the same with the question
copy.
Maybe the answer is wrong, because I am going
to take the exam, and I am afraid miss some
conception,so I put every confusion here,
thanks everybody.
the main problem now is I know most conception,
uausally when take mock test made mistake and
ignored something.
Krussi
Hi,
I tried the output is zero.
it's different from the answer.(complier error)
Krussi
Hi, thank guys a million!
here is another one:
public class Example{
static int x[] = new int[15];
public static void main(String args[]){
System.out.println(x[5]);
}
}
I tried and think the answer is output is zero,
but this question's answer is when compile,
some error will occur?
thanks
Krussi
Hi,
Give following class:
class{
private long val;
public AClass(long v){val=v;}
public static void main(String args[]){
AClass x=new AClass(10L);
AClass y=new AClass(10L);
AClass z=y;
long a=10L;
int b=10;
}
}
which expression result is true?
A.a==b;
B.a==x;
C.y==z;
D.x==y;
E.a==10.0;
the correct answer are: ACE
I counldn't understand AE are correct.
why?
thanks
Krussi
Hi,
//point x
public class Interestiong{
//do something
}
which statement is correctly Java syntax at
point x?
A. import java.awt.*;
B. package mypackage
C. static int PI=3.14
D. public class MyClass{//do other thing...}
E. class MyClass{//do something...}
the answer are: A,B,E
but why D is incorrect?
thanks
Krussi
thanks very much!
Krussi
Hi,
class A{
protected int i;
A(int i){
this.i = i;
}
}
which of the following would be a valid inner
class for this class?
Select all valid answers:
A. class B{}
B. class B extends A{}
C. class B extends A{
B(){System.out.println("i="+i);}
}
D. class B{
class A{}
}
E. class A{}
the answer is A.
but I think A,B,C are the anwser, am I right?
thanks
Krussi