Mahesh Lohi

Ranch Hand
+ Follow
since Jun 22, 2009
Bangalore
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 Mahesh Lohi

Sorry if this was not the relevant topic to post this problem.

I have installed eclipse and started working on spring.

It working fine loads files as desired but at times it stops working. The same project that worked a while ago will show me The requested resource is not available.

What would be causing this problem.

Thanks in advance.
Hi all,

I created a simple UI that takes 2 inputs


and my main is



is their any way by which the jTextField value be used in main..

Thank you in advance


Hi all,


I was stuck with this when I was preparing a Registration form. How can I match if password and re-type Password are the same in validation.xml file.



The above is the validation code in xml file that i have I coded.

Thanks in Advance

11 years ago
Thank you for your replies.. I got it
Hi all,

Can some one plzguide on the usage "Like" clause in preparedstatement

I just used


I got an error
Parameter index out of range (1 > number of parameters, which is 0).

Thank you advance
Hi all,

I am uploaded my web application on to the linux server. In my clsaa file I have used


so that the user uploaded files are save in the upload directory. This works fine in my local system. However, I am getting an error in the server stating
I think it is not taking the path of the "upload" directory. Please let me know what I should do to correct it

Thank you in advance
12 years ago
Hi all, I would like to use properties file to create connection to my mysql DB

My properties file



My Class file



Please let me know what the mistake is. I am getting an error like java.sql.SQLException: Access denied for user ''@'localhost' (using password: YES)

Thank you in advance
Hi Ranchers ,

I need to create a properties file and then read it and keep it in a static variable. I have no idea of properties file. I am a freasher. Please help.

Thank you in Advance
12 years ago
Thnak you for your replies
How to Find the end of the file using loops

Thanks in advance
12 years ago
Hi all,

I wish to round off say 2.342344 to 2.34. Is this posible

Thank you advance
12 years ago
Congrats to All, Good luck on moderating
12 years ago
Thank you for the reply. I got it..

Hi all,

Is it possible to sort a string column in mysql. Like DESC that we use

Thank you in advance