calvinho

Greenhorn
+ Follow
since Mar 11, 2001
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 calvinho

Thank you. It really helps =)
20 years ago
I want to ask if it's possible to replace a new class file in run-time, so as to execute the new class?
My problem is I have a class that stores connection settings for JDBC (data such as userid, password..), I want to change the connection setting and it's no need to bring the system up and down.
Is the approach appropriate?
20 years ago
In what way will IncompatibleClassChangeError be triggered? It seems that it occurred whenever I get an instance from a singleton. Are they closely related? Thanx for your help?
20 years ago
What are the thoughest java questions that u've encountered in an interview for a java-related jobs?
Pls raise some...
20 years ago
I've written Java for a year or two. The more I write program, the more I find myself lack of a good OO concept. Would anyone kindly advise me a good OO book? I can only afford to read one book at this time. Pls advise.
Currently I am writing an application (in servlets) that accept file upload once the user has logged in. The code segment of the upload part is modified from O'Reilly source. I want to ask if I can limit the number of concurrent upload per user, so as to prevent a DOS attack?
20 years ago
How to determine the version of JSDK by java code? Thanx
20 years ago
How can I assign the value of a CONSTANT at run-time? What I mean is the value of the CONSTANT will be dependent of some other factors which may not be known at compile time.
To cite an example, I want to assign a value to a CONSTANT which depends on the platform on which the program runs...
20 years ago
Thanx Pual.
I'm wondering if I can get an array of the parameter values as if I use String[] getParameterValues() in default form submission.
20 years ago
I am writing a servlet that requires file upload. As the form type is multipart/form-data, how can I get other input fields in addition to the file? I've tried to use getParameterValues(), but seems that doesn't work.
The html code is something like
<form action="abc" enctype="multipart/form-data" method="post">
<input type="text" name="ID">
<input type="file" name="uploadFile">
</form>
20 years ago