Sumi Festus

Greenhorn
+ Follow
since Feb 04, 2005
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 Sumi Festus

When you look into the answer choices : c,d,e are not possible since <jsp:getProperty> doesnt have an id, class or scope attribute. That now leaves us with 2 choices a and b. In choice b, the property name is getFirstName which is incorrect. The property names are taken by stripping out the get and set prefix and by making the first letter lowercase. Therefore, the first choice a is correct
Hi!!

I need to connect to the Oracle 9i Database and i have been using the oracle thin driver. I have written the following statement, <code>DriverManager.registerDriver(new oracle.jdbc.OracleDriver())</code>

The problem now is that i dont have the jdbc folder and the classes12.jar file in my system and so i cannot use the oracle.jdbc package. Now is there any other method of connecting to the database.

Thanks a lot

Sumi
Hi!!

I need to connect to the Oracle 9i Database and i have been using the oracle thin driver. I have written the following statement, <code>DriverManager.registerDriver(new oracle.jdbc.OracleDriver())</code>

The problem now is that i dont have the jdbc folder and the classes12.jar file in my system and so i cannot use the oracle.jdbc package. Now is there any other method of connecting to the database.

Thanks a lot

Sumi
The value 0x80000000 refers to the binary value 1 followed by 31 zeros. When this is shifted by a place value of 31, then the binary value becomes 1 preceeded by 31 zeros and this value when represents decimal 1 and the hexa value when converted into decimal is the value that has been displayed.. The negative sign is cos the last position is occupied by 1.
In the most general usage of the term null, null means nothing or empty. It cannot exactly be referred to as an object. When you get a NullPointerException,the meaning is that there is nothing to point to. So when you to try to print null, in reality you are trying to print something which doesnt exist. Thats why you get an error.
Hi!!

There can be only one public class so just make the class GameLaucher as public and remove the public keyword from the other 2 classes. Also remember that naming convention is to capitalise the class names. It is a good and the right way of coding.
14 years ago
Thanks a lot.....
14 years ago
Hi!! I was just reading through some servlet class and came across this code: Principal principal=req.getUserPrincipal();

Here req is an object of the HttpServletRequest class. principal is an object of the java.security.Principal.

Is the getUserPrincipal() method implemented in the HttpServletRequest class? I read the sun techdocs and couldnt find the method listed in the HttpServletRequest class.
14 years ago
Hi.. Thanks.. I tried setText() but its is not working.. Its is just putting some junk text and not the string that i specify in the program.. What do i do
15 years ago
Hi everyone.. I would like to know how to set the text on the button dynamically during runtime.. I tried using setLabel method but it is not working.. Is there another method i can use.. Thanks a lot...
--------------------------------------------------------------------------------
15 years ago
Hi everyone.. I would like to know how to set the text on the button dynamically during runtime.. I tried using setLabel method but it is not working.. Is there another method i can use.. Thanks a lot...
15 years ago
Thanks a lot guys i really understood inheritence...
Thank u
Hi..
this was a question i stumbled upon
String x=new String("xyz");
String y="abc";
String x=x+y;

The answer says that 4 String objects are created can someone give me an explanation as to how 2 string objects are being created in the first line...
Hi..
Consider two public classes test1,test2 in different packages..test1 is imported in test2 and test2 also extends the class test1.. Is this legal..