Mahi Rahman

Greenhorn
+ Follow
since Feb 16, 2007
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 Mahi Rahman

Hello,

I have a computer training institution providing education for Microsoft and Oracle related products. I would like to start teaching various Sun Certification programs soon. Does anyone know if I need to get accreditation from the Sun Microsystems for that? Or can I just start providing the tuition right away and help them register online when it comes to sit for the exam?

Thanks in advance!
Hi,

I'm looking forward to find out if there is any possibility to generate UML class diagram from existing java source code automatically. I use Eclipse as IDE tool and I came to know that it is possible using this tool. But I don't know how. Tried to search internet and found some commercial plugins but I wonder if Eclipse.org is giving any extension.

Please feel free to share your knowledge in this regard.

Best Regards,
Mahi.
Hi,

Does anybody know what could be the way to access a network folder? I need to access an unix folder from a java 1.4 program and then read a specific file from that folder. I tried to read some chapters about networking or I/O where they use network socket for this purpose. But I am not allowed to create any socket on the server side. And also the server has password and username which my program needs to give as an argument. Any idea? Please help.

Many many thanks,
Mahi.
14 years ago

you forgot the enclose your custom tag with />.



Hi Freddy, I can't locate the mistake. Could you tell me the line number and which class.
Hello!

I am trying to create a custom tag (tld) and a tag-handler class using NetBeans 5.5.1. The problem is the IDE can't locate (or load) the tag hanler class. I have checked the tld URI, class name and location but still don't know what is the problem. Any help very much appreciated. Below is the detail code for taglib, handler and jsp:



//testLib.tld




//TwoDigitsTag




//index.jsp


To mention, I get a big fat error in this line "<test:TwoDigitsTag num="<%= tempC %>" of index.jsp

</body>
</html>
Hello!

I am going to sit for the SCJP exam shortly. And I would like to find some web based simulator or mock test where I can practise and review the skills. Can anyone please suggest me websites which offer FREE SCJP practice tests, mock exams or simulator?

Thanks a lot in advance.

Mahi.
Hello!

I am going to sit for the SCJP exam shortly. And I would like to find some web based simulator or mock test where I can practised and review the skills. Can anyone plese suggest me any good website which offers FREE practiced test, mock exam and simulator?

Thanks a lot in advance.

Mahi.
Hi,

Welcome. Sang Shin's http://www.javapassion.com/ could be something you want to refer to.

Mahi.
14 years ago
C:\Program Files\Java\jdk1.5.0_08\bin

and it should work now.
14 years ago
An abstract class doesn't have any body. It's an "agreement" that the class (where this abstract class is implemented) is going to use all the methods of abstract class. It it does not do so then that also has to be an abstract class.

On the other hand, encapsulation is hiding the program logic from the end-user. Using encapsulation improves the security and privacy of the system.

For more understanding, I suggest you read a good object oriented text book.

Regards, Mahi.
14 years ago
Hei Jan!

Great! I use NetBeans 5.5 and I found the steps you suggested is also applicable to this version. And, it's now working! Thanks a lot for your tips!

Mahi.
Hello!

I am trying to get conncetion to MySQL database using this simple java class.




I have added the mysql driver to NetBeans IDE, but when I try to compile the file I get a ClassNotFound error (the file can't locate the mysqljdbc.jar). Can anybody please suggest me how to fix this? If I need to register the database specificaly for this program how to do it then?

Thanks in advace!
14 years ago
Hello!

I am trying to get conncetion to MySQL database using this simple java class.



I have added the mysql driver to NetBeans IDE, but when I try to compile the file I get a ClassNotFound error (the file can't locate the mysqljdbc.jar). Can anybody please suggest me how to fix this? If I need to register the database specificaly for this program how to do it then?

Thanks in advace!
Hi,

I am using to Tomcat 5.5 as application server in Eclipse. When I try to start it I get the following error message:

"Port 8080 required by Tomcat v5.5 Server @localhost is already in use. The server may already be running in another process, or a system process may be using the port. To start this server you will need to stop the other process or change the port number(s)."

To make sure I have cheked if any other program is using the localhost:8080, but didn't find anything.

Can anybody please tell me how can I see which ports are available to allocate as "localhost" in Windows XP? Can I use any other port for Tomcat?

Thanks in advance!

Mahi.