Intermediate Java Tutorial – 32 – Getting the Data from the HTML File

[ad_1]
Facebook –
GitHub –
Google+ –
LinkedIn –
reddit –
Support –
thenewboston –
Twitter –


Posted

in

by

Tags:

Comments

36 responses to “Intermediate Java Tutorial – 32 – Getting the Data from the HTML File”

  1. Scott Lowry Avatar

    I cant find the source to this on github and my code is getting errors I dont understand.

  2. Star Scream Avatar

    Why am I getting an error on title.getParameter("title"+counter)?
    It says the method is undefined for type String

  3. tracy Avatar

    thanks to Bucky!

  4. Nikhil Wagh Avatar

    Why we don't have a main method here? How can it run without the main?

  5. J Bee Avatar

    I still don't understand the reason for putting the last line of code underneath the counter. Can it not be done like this?

    while(title != null) {
    title = getParameter("title" + counter);
    address = getParameter("address + counter);
    }

    So it will pull both the title and the addresses if the title and the addresses from the HTML file.

  6. Death Cry Avatar

    In this case do while loop would be better

  7. TheJonerMan Avatar

    how does the java program know which html file to read from? 

  8. Irakli K Avatar

    i dont understand why we using ArrayList ? isn't that HashMap holding all the information it needs? titles and urls?

  9. Irakli K Avatar

    it jumped to a really advanced stuff in one video, so i guess im gonna watch that one more time and comment all my code

  10. Sean Dunn Avatar

    isn't that last statement in the while loop redundant? wouldn't it just check it again as part of the while loop?

  11. JaagupKu Avatar

    "URL" sounds like "You are L".

  12. skazis87 Avatar

    maybe you don't have you *.html file. watch all tutorials, don't jump in.

  13. Anttl462 Avatar

    when i run it, everything works, but the JList is empty

  14. StockholmControversy Avatar

    I've just started to learn Java and have a background in JavaScript. The thing that hits me is that i get a sense that Java is somehow over-complicated. There's like 100-150 different classes and methods you need to know which is quite daunting. Not only that, there also all kinds of imports and close to 20-30 steps involved to get something… anything basically to work.

    I've been watching your videos for the last week and i really appreciate them being up here, but i have a long way to go. ^^

  15. Ko Rice Avatar

    I think it's supposed to be easier to understand what he's doing, sometimes he right clicks and if he copies more then he ctrl c and ctrl v

  16. Antonio H. N. Muniz Avatar

    I've always wondered: why does Bucky copy things using right-click > Copy, and paste things using Ctrl+V?

  17. amhokies Avatar

    It changes the title that the program is searching for from "title0" to "title1" after incrementing the counter variable.

  18. jonathan Lopez Avatar

    Can anyone tell me why Buck used this this code "title = getParameter("title"+counter);" at the end of the method and whats the purpose. Thanks!

  19. Jesus Christ Avatar

    Why the site writes class not found??

  20. Jeffrey hairy Avatar

    Conventions!!!!!!!!!!!!!!!!!!!!!!!!!!!

  21. oblivion5683 Avatar

    true, true, ive noticed that hes just sorta fucks around with names

  22. inurdreamsfuzzy Avatar

    fucking Google chrome, i debug the code for almost 4 hours and found out that it's not working on chrome! big CRAP!

  23. Eiji kikumaru Avatar

    guess he didn't find the information useful because he's an ignorant fck? :)) hope its not you.

  24. pineappleking73000 Avatar

    Dont hate on the dislikers. They are only noticing bucky's annoyingly bad programming habits. People who dislike the video know better habits than bucky and maybe just dont find his information useful. Dont be the kind of person who hangs off of buckys every single word, treats him like god, and rapes anyone who opposes him, it's not the right attitude for a programmer

  25. BrandonMXB Avatar

    Youtube ruined the URL:
    dl.dropbox.com/u/13784141/Brandon-PC1 Youtube 20120611.png

  26. BrandonMXB Avatar

    I refute your claim with this.
    dl.dropbox.com/u/13784141/Brandon-PC1%20Youtube%2020120611.png

  27. Frogfish999 Avatar

    "that's so racist" dude, I can't program while laughing like this!

  28. dfsfklsj Avatar

    So the get method from HashMap basically takes a string as argument and finds the corresponding URL, am I right?

  29. BrandonMXB Avatar

    That would be the only logical conclusion. 😛

  30. Krystalfox007 Avatar

    He missed the like button.

  31. BrandonMXB Avatar

    Who's the douche bag who would dislike this video?!

  32. IFoundMyUsername Avatar

    I gave up Java. It's too difficult for me. Let's go Python!

  33. Fredrik Johansson Avatar

    It wouldnt matter at this point, however it does make difference if its for example in a for loop to increment before (pre) you use it instead of after(post) you use it

  34. Rahul Avatar

    why pre increment not post increment in while

  35. ChemicalFlash Avatar

    Jsoup Java library (html parser) is much easier to do html stuff

Leave a Reply

Your email address will not be published. Required fields are marked *