Java Video Tutorial 41

Java Video Tutorial 41

FavoriteLoadingAdd to favorites

Get Everything Here:

Java468x60

In this part of the Java Video Tutorial, I’ll show you how to make Java Servlets in Eclipse.

I’ll cover how to set up Tomcat to work with Eclipse. I’ll also show you how to fix the restricted library error, how to set up Eclipse tool tips and more.

source

By |2019-05-25T19:12:27+00:00May 25th, 2019|Java Video Tutorials|47 Comments

47 Comments

  1. Ali Kazmi May 25, 2019 at 7:12 pm - Reply

    Derek Thank you. Your videos are all Awesome!!!

  2. fahad shovon May 25, 2019 at 7:12 pm - Reply

    hey Derek, I was thinking about learning android app development in android studio, do I need to learn Java servlets in that case??

  3. laughablehaha May 25, 2019 at 7:12 pm - Reply

    I don't exactly get the whole point of this… are servlets meant to create mini websites quickly?

  4. ayoub el bazzazi May 25, 2019 at 7:12 pm - Reply

    i want to lance eclipse but dont's starting please help my

  5. ayoub el bazzazi May 25, 2019 at 7:12 pm - Reply

    THANK YOU MESTER derek

  6. Patrascu Lucian May 25, 2019 at 7:12 pm - Reply

    I didn't understood anything. I guess that happens when you go brainlessly through a playlist of tutorials, without a clear goal.

    I just want to learn general java so I can get an entry level job. Then I will choose a field, like android apps, web development, web apps, etc.

    So I thought I can skip the tutorials that involve java + other things.
    Would it be wise to go directly to your design patterns & refractoring tutorials?

  7. Mr Arclight May 25, 2019 at 7:12 pm - Reply

    "The first thing you need to do, is to install Tomcat. I assume you have Apache set up already." I dont really understand this, do you mean apache = tomcat or its something else? Please help

  8. J Dizzle May 25, 2019 at 7:12 pm - Reply

    Wow, these tutorials are a lifesaver. They are the best I have found. You explain everything, don't move too fast but not too slow. Thank you!

  9. Pj Cohen May 25, 2019 at 7:12 pm - Reply

    what if i don't find servlet-api.jar?

  10. danny g May 25, 2019 at 7:12 pm - Reply

    When I try Run As > Run on Server, I'm not given the option to choose an already existing server, like in the video, and it asks me to manually define my own. I'm not sure what to do here. Can anyone help?

  11. Ahmad Sedeek May 25, 2019 at 7:12 pm - Reply

    guys you won't find the servlet-api.jar in your JRE system library instead i will be in the Apache Tomcat v8.0 library and you will just do the same for it

  12. T4l0nITA May 25, 2019 at 7:12 pm - Reply

    I can't find the "servlet-api.jar" in the "JRE system Library" but i managed the find a file with the same name is the Apache Tomcat folder, i edited but i keep having 'this element has no attached javadoc …' message. I guess it's probably a different file. Can anyone help ?

  13. Aman Virmani May 25, 2019 at 7:12 pm - Reply

    in JRE System Library servlet-api.jar does not exist

  14. Chip Kelly's Rushing Attack May 25, 2019 at 7:12 pm - Reply

    Can you do Spring MVC?

  15. ekimsr123 May 25, 2019 at 7:12 pm - Reply

    What do you do When you are missing the servlets in the JRE System Libraries section. I keep trying to add an external JAR file for tomcat 8.0 but Its not coming up in the Library.

  16. Vern's Algorithm May 25, 2019 at 7:12 pm - Reply

    Can you please do more videos on Java Networking e.g. cookies and session tracking? These kinda stuff are gold nowadays

  17. Gursharanjot Singh May 25, 2019 at 7:12 pm - Reply

    i can find the server option in my eclipse preference what might be the problem can anybody help me with that

  18. Patrick Mumo May 25, 2019 at 7:12 pm - Reply

    Running eclipse-kepler on linux..there is no servers option under preferences. my tomcat is up and running anyway

  19. Akshay Balasubramanian May 25, 2019 at 7:12 pm - Reply

    Simple and great. πŸ™‚ thanks derek

  20. aysikl May 25, 2019 at 7:12 pm - Reply

    .. my servlet -api.jar is missing…. :/
    my jdk7 jre system library here looks a bit more light-weight than the se 6 jre system library in video… :/

    but there's a servlet-api.jar up in the Apache Tomcat v7.0 … use that?..

    file location in project explorer stuffs:
    video:
    Lesson41
    -Java Resources
    –Libraries
    —JRE System Library
    —- servlet-api.jarΒ 

    me:
    Lesson41
    -Java Resources
    –Libraries
    — Apache Tomcat v7.0
    —- servlet-api.jar

    —//– Used the one I could find and seems tooltips appear on mouse over so..
    =)

  21. aysikl May 25, 2019 at 7:12 pm - Reply

    tomcat 8 is out, in the eclipse jee thing the max addable tomcat version is 7..

    any way of making tomcat 8 fit?

    (not important/won't be using it any time soon, if ever.. just.. curious.. πŸ™‚ Β )

  22. aysikl May 25, 2019 at 7:12 pm - Reply

    from the link to installing tomcat on pc:

    Install Tomcat 7
    * – step 3 – Extract the files to the same location as tomcat itself

    .. really?…. when installing tomcat, I should install it same place tomcat is installed…?

    this kinda stuff annoys me immensely..

    I think I figured it out tho / managed to go over the steps..
    skipped step 9 about making it load version 5.5 folder stuff…Β 

  23. Justin Barnard May 25, 2019 at 7:12 pm - Reply

    Using Tomcat 7 I found the servlet-api jar in the Apache Tomcat Library at the top of the listing, did the rest as presented and my tool tips work fine now

  24. Derek Banas May 25, 2019 at 7:12 pm - Reply

    Thank you πŸ™‚ Sorry but I haven't covered hibernate yet

  25. MrMrLemonade May 25, 2019 at 7:12 pm - Reply

    derek i love your tutorials they help alot. do you have a tutorial about hibernate framework??

  26. Styles P'yall May 25, 2019 at 7:12 pm - Reply

    Haha thanks man, can't wait!

  27. Derek Banas May 25, 2019 at 7:12 pm - Reply

    You're very welcome πŸ™‚ I promise I'll revisit servlets in the future and make the set up process easier to understand.

  28. Styles P'yall May 25, 2019 at 7:12 pm - Reply

    Thanks for all the help man

  29. Derek Banas May 25, 2019 at 7:12 pm - Reply

    You can skip this part for now and move on to the rest. i just briefly cover Servlets anyway. I'll make a proper servlet tutorial soon. After this we make paint apps and games which are more fun anyway

  30. Styles P'yall May 25, 2019 at 7:12 pm - Reply

    That's just it, it the servlet-api.jar isn't in the JRE Systems Library. And the instructions to install tomcat on pc is really confusing.

  31. Derek Banas May 25, 2019 at 7:12 pm - Reply

    On this page newthinktank. com/2012/05/java-video-tutorial-41/ Look for the part named Setup Java Servlet Tooltips in Eclipse. Tell me if that doesn't help

  32. Styles P'yall May 25, 2019 at 7:12 pm - Reply

    I downloaded the files from the website like you said

  33. Derek Banas May 25, 2019 at 7:12 pm - Reply

    Always feel free to ask questions. Are you using Tomcat and Apache on your computer?

  34. Styles P'yall May 25, 2019 at 7:12 pm - Reply

    Hey Derek, I'm sorry I'm always pestering you with questions, but I can't find the "servlet-api.jar" in the JRE Systems Library. I'm stuck there. Thanks for the tutorials btw, they are helping me out allot.

  35. Derek Banas May 25, 2019 at 7:12 pm - Reply

    Check out this eclipse plugin eclipse. org/webtools/

  36. Kishore Sattu May 25, 2019 at 7:12 pm - Reply

    I have eclipse is of type eclipse-java-kepler-R-win32.it doesn't have option servelet. Please tell me any other way to run servelts?

  37. Derek Banas May 25, 2019 at 7:12 pm - Reply

    I'm happy to help if I can. Your python code should be fine

  38. Derek Banas May 25, 2019 at 7:12 pm - Reply

    You're very welcome πŸ™‚ Search for the location of catalina.sh and then type catalina.sh version in your terminal. I hope that helps

  39. Derek Banas May 25, 2019 at 7:12 pm - Reply

    I'm always happy to help if I can. Always feel free to ask questions πŸ™‚

  40. Risteard O'B May 25, 2019 at 7:12 pm - Reply

    Thanks and greetings from Ireland

  41. Derek Banas May 25, 2019 at 7:12 pm - Reply

    You're very welcome πŸ™‚ Yes many game tutorials are coming. No I'm not from Texas. I'm from Pittsburgh, PA. I think my accent is a little odd because I was raised in a house in which many different languages were spoken

  42. Risteard O'B May 25, 2019 at 7:12 pm - Reply

    Thanks again Derek, I was about to ask whether you could point me to some java game code that encapsulates all of the concepts you explain so well but I've just noticed that your later videos cover that. Looking forward to the android stuff as well. Btw are you from Texas, is that a Texas accent?

  43. Derek Banas May 25, 2019 at 7:12 pm - Reply

    In my opinion the JMonkeyEngine is the best because of the great community that is involved with it. I'm not a big 3D guy though and have very little interest in making a 3D game. I prefer 2D, or 3D light games. As an individual I can make a great 2D game. I don't think I could do the same with 3D

  44. Derek Banas May 25, 2019 at 7:12 pm - Reply

    I doubt that very much. A language like Java has stood the test of time. I've been using it since 1995. Tools that try to simplify complex tasks are replaced all of the time

  45. Derek Banas May 25, 2019 at 7:12 pm - Reply

    If I was programming a game I would use either Java, or C++.

  46. Risteard O'B May 25, 2019 at 7:12 pm - Reply

    Sorry again, do you thinks its worth moving away from java for game dev

  47. Risteard O'B May 25, 2019 at 7:12 pm - Reply

    Sorry do you think it's moving away from java to unity 3d?

Leave A Comment

*