Frank Tollenaar

Greenhorn
+ Follow
since Dec 18, 2006
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Frank Tollenaar

If you are afraid of people copying your code, add a copyright notice. If you don't trust your customers to comply to that, you should not be in the software-selling business.
Just my 2 cents
16 years ago
I just got a Mac myself. Eclipse runs without any trouble, but it's more the 'sidekicks' that are not available for OS X, or don't work.
ClearCase client tool is one of them. Very important if you use ClearCase.
Skype behind a proxy is another pain.
17 years ago
Hi,
I have the following questions:
1. In weblogic5.1, I use the following commend to deploy my bean through cart.jar :
java -classpath %MYCLASSPATH% -Dweblogic.home=%WL_HOME% weblogic.ejbc -compiler javac build\portable.jar %WL_HOME%\lib\mylib\cart.jar
The error message I got is error opening registry key 'software\JavaSoft\Jave Runtime Envirnment'
2. If I run the deployment via weblogic DepolymentTool, I can get my deployment done. When I run client.java, I get the following message:
JIT compiler"javacomp" not found
will use interpreter
user: system
The client was unable to lookup the EJBHome, please make sure that you have deployed the ejb with the JNDI name beanManagedAccountHome on weblogic server at t3://localhost:7001
Unable to lookup the beans home "CartHome"
Any help will be greatly appreciated.
Frank
Hello all,
I've just begun studying for Java programmer certification. The thing is I do not use java in my day-to-day work(VB-SQL-Vantive) so the only Java I do at the moment is in my spare time studying. I have done some servlet work about a year ago and have been on the Sun Java Programmers course.
I am working my way through The Complete Java 2 Certification Study Guide by Simon Roberts and spend about an hour a day studying. I want to get certification before Christmas.Is this possible? Can anybody advise on how to approach my studing?
I want to move into a Java role in the future but would like to get certification first.
Hi,
My question is very simple
Is it possible to know if the horizontal scrollbar is visible int the awt.list class?
If yes, How?
Thanks
24 years ago
Forget my post, I found a solution.
24 years ago
Hi,
I have a big problem with sending back cookies to the server.
I have put them when the servlet send them in a string. Each cookies separated by a semi-colon. This worked fine.
The problem is when I want to send back the cookies it seems it doesn't take it.
To send them back i do the following :
URL newURL = new (http://something);
objURLConnection = newURL.openConnection();
objURLConnection.setRequestProperty("cookie", myCookieString);
objURLConnection.connect();
When I check the cookies, I have a new session. It didn't take my old one.
Can anyone give me a clue on what is happening?
Thanks in advance
24 years ago
Thanks this help me to advance a little more. It's effectively a problem with cookie.
I found that the servlet send me 4 cookies. I put them all on a string, separated by ; (not sure if it's the good separation, can someone confirm me that?). When I request another jsp I'm doing this :
URL url = new URL(URLAdresse);
URLConnection urlConnection = url.openConnection();
if (!cookie.equals("")){
urlConnection.setRequestProperty("Set-Cookie", cookie);
}
urlConnection.connect();
but this is not working, anybody have an idea of what is happening?

24 years ago
Hi,
I'm not sure if I am in the good groupe because this question is tied with many aspect of java.
I've done many JSP which store some values in session. When I test it with a browser like IE5, the session work the values are transfer to the other page until I close the browser. This works very fine.
BUT when I use a Java Application the values don't store in the session. Here how it works normally.
In my application I open an login dialog who call the corresponding jsp lets call it login.jsp. When he found the corresponding user in the database it put the value in the session (UserID).
After that I want for example to change my password. So I open my dialog box in my application I write my new password and call the corresponding jsp (change.jsp). But he never find any UserID because it's value is null now. It didn't keep the session.
I think I've know what the problem is but can't solve it.
Here I call two jsp, each time I made an URLConnection.openConnection().
I think when I call this, a new session is opening and this is causing me the problem.
Am i right? And if yes how can I solve this problem?
Thanks in advance for the answer
Frank

24 years ago
Hi,
I've done a scrollPane, everything is fine. But the unitIncrement is by default to 1, I would like to put it to 5. Can I do that?
24 years ago
I have gone through "Sam's Teach Yourself Java in 21 Days", R&H's "Java 2 Cert. Study Guide", and Brogden's "Exam Cram".
1. I think true.
2. I have no idea.
3. I think true because if a thread is suspended and resume() is never called, the thread could be indefinately suspended.
[This message has been edited by maha anna (edited July 22, 2000).]
Are the following true or false?
1. Current thread suspends when a file is opened for reading.
2. A thread can stop execution if it was performing an I/O task with a remote file.
3. It is possible to suspend a thread indefinitely.
Thanks.
Does a thread continue to run when the program exits the main() method?
One question on the exam asked for the TYPE of member variables from the following:
A cat is a pet that has text describing markings, a value for neutered, color of the cat, and "something" (I can't remember) stored in a vector.
String for text describing markings
boolean for neutered
Color of color of cat
Object or Vector for the last member variable?
How do you represent 7 in Hex?
Is it 0x07 or 0x7? Thanks.