Minhaj Mehmood

Ranch Hand
+ Follow
since Jan 22, 2007
Minhaj likes ...
Hibernate Java Spring
Paksitan
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
4
Received in last 30 days
0
Total given
7
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
(keep public parts private until JForum day)
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt
Moderation Tools

Recent posts by Minhaj Mehmood

Good Morning Everyone,

Any recommendation for Groovy/Grails best practices? Regards -


-Minhaj
6 years ago
I'm not sure about java-champ but there are rumors the actual exam is always easier than mock exams. like ExamLab and JQPlus if you manage to get 80% in their mock exams than I'm sure you'll be able to hit 100% in actual exam.
In actual exam you'll always find the options like choose one/two or whatever.
find() => Attempts to find the next subsequence of the input sequence that matches the pattern.
matches() => Attempts to match the entire region against the pattern.

for details check java.util.regex.Matcher class documentation.


hope this helps

Minhaj
In my times they provided water bottle them self plus a pen(which i replaced on request with a pencil) and a white A4 blank paper.


Regards

Minhaj
Following is my code:

6 years ago
Hi All,

I'm using java.net.URI#getHost() method to extract the top level domain from an URL.
but this method is failed to extract the TLD of such URLs "http://www.schönesdresden.de/resources/internet.2jpg.jpg" It's failed due to umlaut "ö" in it.

Please Advise.
6 years ago
Yeah, What a great achievement!! You're simply Awesome keep up the good work Boy ;)
7 years ago
Hi,

If you're already professional in the field of programming I would recommend you go through the K&B Guide at least 2 times and attempt some ScjpMockTests create a study plan and stick on it, always try to share your doubts here with us.


Hope this helps

Minhaj
Hi All,

I've a table where I store URL and It's download HTML so far there are total 8 lac rows in this table but the performance of select query is very poor. If i execute following query it takes several minutes to return result.

SELECT * FROM html_table WHERE url = "http://www.mydomain.com/mypage/"

Please let me know what should i do to prevent such issues? I've created index on url column the performance is now somehow better! but is this the viable solution? to put index on varchar type of column?


Kind Regards