This week's book giveaway is in the Agile and Other Processes forum.
We're giving away four copies of The Journey To Enterprise Agility and have Daryl Kulak & Hong Li on-line!
See this thread for details.
Win a copy of The Journey To Enterprise Agility this week in the Agile and Other Processes forum! And see the welcome thread for 20% off.

Bill foster

Ranch Hand
+ Follow
since May 17, 2011
Bill likes ...
Java
Somewhere in Colorado.
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
10
Received in last 30 days
0
Total given
25
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Bill foster

Thanks Dave for your input, I want to show how to do this to students who are in programming class.
They were asking how to learn web app development with Java, and I showed them a you-tube video .
Now the students are excited!

I have experience on setting up MAMP on Win 10, but never had to install Tomcat.

I just wanted to get the skinny on this topic.

Thanks again!

Bill
9 months ago
Thanks Bear, I love your analogy using the county clerks describing static and dynamic documents. I'm going to have to get Apache Tomcat server as well to run JSP and Servlets.

Do you have any information on setting up Apache on a Win machine?

I think the Heads First Servlets and JSP, would be a great book to have.

Thanks again for all your knowledge.

Have a great day!

Bill
9 months ago
Hi,

I have went through a basic Java course and algorithm course. I was wondering if I need to learn HTML, CSS and Javascript before learning servlets.

Thanks!

Bill
9 months ago
Hi Jonothon,

You might want to take a break, it is hard sometimes if you are tired to solve a problem.

Sometimes when my students are having trouble with a problem the best way is to break it down in to steps.
In understanding algorithms, we must go step by step.

Do a few problems on paper and then try to use pseudo code to write the steps then afterwards you can translate to code.

You are not stupid and please do not get frustrated we all make msitakes.

Take care!

Bill
2 years ago
Bear,

I had one of my students from last semester actually show me how to clear the history in the browsers that I have in notepad++.
You are right, you need to clear the history on the browser but I did not know how to do this.

You have to reopen the browser(or refresh after you clear the history) and then the links are red(not yet visited)and after you visit the links they are green. When you hover over the link it is pink, when the link is active/selected it is blue.

This is pretty interesting subject!

I had a couple of students who had trouble with a HTML/JavaScript class and they came to me and I tried to help them. I must say, I was not very much help.

Hopefully after I complete this Intro to HTML book I have, I can help out more.

I actually teach business calculus. I actually hated programming while going to school myself I like math more. 

Thanks,

Bill
The link after the NSF where is says <here> is green the other two links are correct.
Here that I'm refering to has bold tags around it.

Thanks,

Bill !
Hi Bear,

I'm actually using notepad++ and when I open my webpage in FireFox, it seems that the color in the a:link{} pseudo class is set by the browser.
I noticed that you use jfiddle to test your CSS, is this a better editor than notepad++?


Okay I got to use jfiddle to post the code!

I'll post the code as soon as I can get it on jfiddle.




Thanks,
Bill
I'm trying to style links on a web page, I can not get the links to display the link color of the a:link{} pseudo class, all I can get is the visited color even when I did not visited the link in the first place.

Here is my code:




Thanks,

Bill
Richie and Knute,

I found that the ternary operator is short hand for a if-then-else statement.

I read the tutorial on oracle: Ternary operators

Okay I see what you mean.

Thanks for the info.

Bill
2 years ago
Richie,

I think Knute said in the post above that you can convert booleans to numbers.
I misunderstood this, I thought the values were represented by numbers, the values 0 and 1 is what you as the programmer decides?

I hope I got it!

Thanks,

Bill
2 years ago
Hi Richie,

in your code

You said that we need not to think of false/true as int numbers, why not it seems to me that the code above states either 0 or 1.
I think it is important to know if you can what type of numbers is false or true. Without this knowledge then the code below:




would not mean too much to me.


Thanks,

Bill
2 years ago
Knute:

There is no way to case a boolean into an int, but here is a quick way to convert them:



Hi Knute,

Can you concatenate the Boolean into a string then parse it into a int?

I was just wondering?

Bill
2 years ago
Also you can use the debugger as well and see where the program does before it errors.
I use it all of time, here's the section on exceptions: exceptions


take care,

Bill
2 years ago
Thanks Ritchie for the explanation I thought using += to concatenate strings was not an option, in the first example it was used in variables that were assumed to be numbers like this:






Sorry for getting the string classes(String buffer/builder) mixed up!

Thanks for pointing this out!

Bill
2 years ago