Win a copy of Micro Frontends in Action this week in the Server-Side JavaScript and NodeJS forum!

Mark Butcher

Ranch Hand
+ Follow
since Jun 28, 2012
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
1
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 Mark Butcher

Thanks koilraj abraham.....that helped !
6 years ago
Hi All,

Browsed quiet a few examples on the web but couldn't logically understand the Adapter Design Pattern.

Can somebody give me a smallest & simplest example of Adapter Design Pattern in Java.

Thanks.
Mark
6 years ago
Thanks guys that really helped !!
Thank you for the replies. I understood the concept.

But then in what scenario should one use synchronized methods ??

Thanks,
Mark.
Hey guys,

I have written a simple code to learn synchronized methods.
Here two threads are accessing one synchronized method as below :


OUPUT :
----------
THREAD NAME : ONE
THREAD NAME : TWO
----------

Now, my doubt here is how can the two threads(one & two) access the synchronized method at the same time.
Whereas a synchronized method can be accessed by a single thread at a time.

Thanks,
Mark
Yes.

If I create files prefixing my name as an identifier, lets say Mark1.xls, Mark2.xls,.......
These files belong to me and I can manipulate only those.
Now I want to delete only those files created by me, that is Mark1.xls to MarkN.xls

Thanks.
7 years ago
Well, I am using java 6 and didnt find anything helpful in this context.

Atleast listing files with a particular prefix string would really help me.
7 years ago
Hi there,

Want to delete all files starting with a particular string pattern in a folder using java.
For example, there may be multiple files containing prefix "abc" like :
abc.txt
abc.xls
abc.doc
abc.xlsx

I want to delete all of the above files starting with "abc" irrespective of their extensions.

The only thing I know is to delete one single file as follows :

Thanks
Mark
7 years ago
Thank you Bear, but I am a beginner in JQuery, not able to understand the example in the source.
I would request you a simple basic example that would help me to understand the concept.
As per the contents of the book, the autocomplete is part of chapter 11 and I couldnt find that chapter....
Thank you for the reply, but I couldnt find what I need.
Hi there,

Searched the web for an example, but could'nt find a working one.

I am looking for a working example of JQuery AutoComplete populated by values from the database using JSP.

Kindly help.
Hi there,

Am working on javascript and struts 1.3.
Want to uncheck a radio button using javascript.
Have tried that and its not working for me.
Here is the jsp code :

and the javascript :

Thanks.
Mark
I would really appreciate an example.
Thanks.
7 years ago
Okay.....but an alternative would really help me.
7 years ago