#4 Servlet and JSP Tutorial | Creating Web Project in Eclipse

Ғылым және технология

Check out our courses:
Spring and Microservices Weekend Live Batch : bit.ly/spring-live-weekend
Coupon: TELUSKO10 (10% Discount)
Master Java Spring Development : bit.ly/java-spring-cloud
Complete Servlet and JSP playlist : goo.gl/pKFeSv
Once Eclipse and Tomcat is configured lets create a web project in Eclipse.
In this video we will see :
- How to create a new project
- Create Dynamic Web Project
- What is Target Runtime
- Understanding the folders in project
- Web-INF folder and web.xml file
- Java resources folder
- Hello Wrold program
- Running the project
- Changing default web browser to run project
A servlet is a Java programming language class that is used to extend the capabilities of servers that host applications accessed by means of a request-response programming model. Although servlets can respond to any type of request, they are commonly used to extend the applications hosted by web servers. For such applications, Java Servlet technology defines HTTP-specific servlet classes.
The javax.servlet and javax.servlet.http packages provide interfaces and classes for writing servlets. All servlets must implement the Servlet interface, which defines life-cycle methods. When implementing a generic service, you can use or extend the GenericServlet class provided with the Java Servlet API. The HttpServlet class provides methods, such as doGet and doPost, for handling HTTP-specific services.
Java and Spring Framework For beginners with Spring Boot : - bit.ly/3LDMj8D
Java Tutorial for Beginners (2023) :- bit.ly/3yARVbN
Editing Monitors :
amzn.to/2RfKWgL
amzn.to/2Q665JW
amzn.to/2OUP21a.
Check out our website: www.telusko.com
Follow Telusko on Twitter: / navinreddy20
Follow on Facebook:
Telusko : / teluskolearn. .
Navin Reddy : / navintelusko
Follow Navin Reddy on Instagram: / navinreddy20
Subscribe to our other channel:
Navin Reddy : kzread.info/dron/xmk.html...
Telusko Hindi :
kzread.info/dron/itz.html...
Donation:
PayPal Id : navinreddy20
Patreon : navinreddy20
www.telusko.com/contactus

Пікірлер: 121

  • @chiranjeetparida263
    @chiranjeetparida2634 жыл бұрын

    Navin ur English is crystal clear without any ambiguity . Its really helpful to understand the things.

  • @chocodil2
    @chocodil24 жыл бұрын

    Telusko so simple and straight to the point!

  • @someone1
    @someone14 жыл бұрын

    Very brief and helpful. Thanks!

  • @bhanumathi2841
    @bhanumathi28414 жыл бұрын

    Hi Sir...I started watching your channel from Python...I liked the way you teach I detail and also crisp. Now I am working on Java project and wanted to know...just searched your channel....super sir...please continue the good work...

  • @cjm101
    @cjm1012 жыл бұрын

    AWESOME teaching!!!! 🔥 thank you for your videos, there are really helping me! 🙏🏽💙

  • @camillapantoja873
    @camillapantoja8734 жыл бұрын

    Thank you sir, greetings from Brazil!

  • @soldadopreciso
    @soldadopreciso5 жыл бұрын

    thanks navin , greetings from Ecuador

  • @aquibansari3941
    @aquibansari39415 жыл бұрын

    Your Tutorials have always been greatly helpful and this JSP Project series is a Gem. Keep up the good work sir.

  • @sdmj730
    @sdmj7304 жыл бұрын

    loving your tutorials......please make more such series.....Thanks a ton

  • @siddharthpandey8516
    @siddharthpandey85164 жыл бұрын

    Amazing! Never seen such crisp and to the point tutorials

  • @pratikgupta7373
    @pratikgupta73736 жыл бұрын

    Thanks it was very helpful tutorial Thanks alot

  • @vinaymittal872
    @vinaymittal8723 жыл бұрын

    Very much on the point. Thanks Dude.

  • @bekhruzmakhmudoveducationb9494
    @bekhruzmakhmudoveducationb94945 жыл бұрын

    Thank you . This tutorial is helpful . Good luck mr Navin

  • @sergeikharchikov1157
    @sergeikharchikov11574 жыл бұрын

    Thank you very much sir for your work! you are a great teacher)

  • @naturalcreative9028
    @naturalcreative90284 жыл бұрын

    you are genius sir ,i like your teaching style.

  • @yasminkhatoon2920
    @yasminkhatoon29202 жыл бұрын

    you are my all time saviour...😊

  • @xuanbachnguyen4119
    @xuanbachnguyen41193 жыл бұрын

    This helped a lot, thank you

  • @rohitarora1981
    @rohitarora19814 жыл бұрын

    Very useful, Thanks a lot.

  • @diveshkumar3945
    @diveshkumar39452 жыл бұрын

    you are amazing teacher. thank you so much

  • @manaswishige3745
    @manaswishige37453 жыл бұрын

    Thank you for sharing your knowledge 🙂

  • @merlingracy9588
    @merlingracy95884 жыл бұрын

    You are fantastic man..thanks a lot..

  • @user-tk9lh1mv6r
    @user-tk9lh1mv6r6 жыл бұрын

    Tq sir... Your teaching is awesome...

  • @rajasaha1997
    @rajasaha19975 жыл бұрын

    You are awesome sir....Respect💮💮💮

  • @jonsnow9246
    @jonsnow92466 жыл бұрын

    Thanks a lot, Sir!

  • @rakeshchilakapati6309
    @rakeshchilakapati63093 жыл бұрын

    You just saved my life

  • @poornimas620
    @poornimas6204 жыл бұрын

    O my god it's just amazing

  • @chinmaydas4053
    @chinmaydas40536 жыл бұрын

    Nice sir.we want to see real life projects in java like online payment system,online shopping carts etc..

  • @chinmaydas4053
    @chinmaydas40536 жыл бұрын

    Sir missing your data structures,algorithms design,time complexity analysis etc complete,in depth video series..again requesting please make data structures & algorithms videos on the basis of best/famous book "Introduction to Algorithms " by C.L.R.from beginner to advanced..we are dependent on your help/service..huge respect and love..

  • @hamidja1537
    @hamidja15372 жыл бұрын

    Many thanks for sharing

  • @waheedkhan5337
    @waheedkhan53375 жыл бұрын

    thankx a lot lov u from pak

  • @kakashisenpai99
    @kakashisenpai994 жыл бұрын

    Thx uncle ji

  • @smjunayedshanto7
    @smjunayedshanto76 жыл бұрын

    it is not working on my eclipse it says 404 error

  • @chetanbhamare3032
    @chetanbhamare30323 жыл бұрын

    thanks a lot sir!

  • @minalin4512
    @minalin45124 жыл бұрын

    oh,it's so great👍👍👍👍👍👍👍👍👍👍👍👍👍

  • @omi3837
    @omi38376 жыл бұрын

    Thanks..... You've helped me out.....do me a favour, pls make playlist for each particular topic if possible to you

  • @kamruljaman26
    @kamruljaman263 жыл бұрын

    You are great

  • @niveditahassanandani5340
    @niveditahassanandani53406 жыл бұрын

    Thank you sir

  • @reshamagarwal6589
    @reshamagarwal65895 жыл бұрын

    Type Status Report Message /DemoApp/index.html Description The origin server did not find a current representation for the target resource or is not willing to disclose that one exists. Getting this error.. Please help

  • @abhijitboda
    @abhijitboda5 жыл бұрын

    I wish you could go with maven or gradle configuration

  • @crazyplanet3908
    @crazyplanet39085 жыл бұрын

    Thankyou so much foe the video it helped me a lot .If possible please teach Spring and Hibernet in real time

  • @maddydllng2882
    @maddydllng28825 жыл бұрын

    thanks bro...

  • @lianansan
    @lianansan6 жыл бұрын

    Thank you

  • @hasithasubhashana9606
    @hasithasubhashana96062 жыл бұрын

    Thank you 🔥🔥🔥🔥🔥

  • @himabindu2839
    @himabindu28392 жыл бұрын

    In my lap it doesn't showing dynamic project option what should I do

  • @HasanNaser01
    @HasanNaser016 жыл бұрын

    شكرا لك thanks ..

  • @aishwaryasonkar6401
    @aishwaryasonkar64014 жыл бұрын

    java resource folder and java script resources folder is not showing in my web dynamic project... what should i do ?

  • @anjunair111
    @anjunair1114 жыл бұрын

    Hi, navin after running the project it shows tom cat failed to start.I deleted tmp files and also snap files still the same error shows plz help

  • @sandipkushwaha4292
    @sandipkushwaha42925 жыл бұрын

    the origin server did not find on eclipse how to solve it please tell me how to solve this error when the web project run on server

  • @eagerassaultixopi4558
    @eagerassaultixopi45584 жыл бұрын

    You are a beautiful beautiful person, thank you so much for this video

  • @amrutavasal6852
    @amrutavasal6852 Жыл бұрын

    Sir While creating the dynamic project I am unable to see JavaResources, WebContent and JavaScript Resources folder i

  • @sk-ys9mt
    @sk-ys9mt6 жыл бұрын

    sir what is difference between eclipse netbeans for java

  • @ompuri7054
    @ompuri7054 Жыл бұрын

    Sir which font you use in eclipse

  • @praveenr6933
    @praveenr6933 Жыл бұрын

    Hi, The Project opens with an error when creating a dynamic web project with Tom Cat Server in eclipse

  • @aastha4708
    @aastha47083 жыл бұрын

    Sir what if we do all steps as per your instructions but still we dont get simple hello world as output?? what to do can anyone help??

  • @sparrowgaming4674
    @sparrowgaming46742 жыл бұрын

    a small red cross symbol is showing on my DemoApp folder. What is that?

  • @eshwar13
    @eshwar139 ай бұрын

    Please help me @Telusko, actually when i am create the html file then writing the code inside html file ,i am getting uncontrolled cursor movement like when open 1 tag then try to close that tag cursor taking the single line cursor selection to multiple line cursor selection. unable to write code properly. Any one give solution for this?

  • @avinashnoubade7272
    @avinashnoubade72725 ай бұрын

    How to set internal browser in eclipse?

  • @0shaad
    @0shaad10 ай бұрын

    Hey i know java core, do i need to know html first in order to learn servlet and jsp?

  • @bagchaser3859
    @bagchaser38595 жыл бұрын

    Nice

  • @swapnilankushe2905
    @swapnilankushe29056 жыл бұрын

    thanx

  • @lemesakasim4639
    @lemesakasim4639 Жыл бұрын

    i like your presentation especially on python but when you use eclipse zoom it, it is better to see the code.

  • @sayakkundu6632
    @sayakkundu66323 жыл бұрын

    i am getting a small red cross in the project name folder, any solution or what it is actually?

  • @pradhyudh

    @pradhyudh

    10 ай бұрын

    it is an error regarding web.xml file, in (Iso) named line there will be error

  • @vanishasingh7800
    @vanishasingh78006 жыл бұрын

    geting 404 error with Eclipse Oxygen and tomcat 8.5 server. please help Telusko....

  • @kgnfilterproducts7341
    @kgnfilterproducts73414 жыл бұрын

    i have create dynamic project ,I got two folder meta Inf And Web inf in web inf there is no web.xml file can any one resolve my problems.

  • @GeloEd

    @GeloEd

    3 жыл бұрын

    You forgot to check web.xml 1:30

  • @LaxmiNarayana-zs5vz
    @LaxmiNarayana-zs5vz4 жыл бұрын

    please help @telusko.. sir when I start the server I am getting a description as The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.

  • @pankajsharma-rf1ov

    @pankajsharma-rf1ov

    4 жыл бұрын

    First of fall hey beauty 😍 Now the time of solution :-> Check your path like my project name is pro1 and the name of my html page is hello.html so... localhost:8080/pro1/hello.html

  • @vasua2348

    @vasua2348

    2 жыл бұрын

    @@pankajsharma-rf1ov thank you bhai tumne problem dur kardi . Happy Diwali 2021🕉🕉🕉🕉🕉🕉🕉

  • @lalitkumarmehta1721
    @lalitkumarmehta17215 жыл бұрын

    Please provide the code used in your tutorials in the video description.

  • @sandipkushwaha4292
    @sandipkushwaha42925 жыл бұрын

    The origin server did not find on eclipse showing error after run on server

  • @tanishabansal1971
    @tanishabansal19716 жыл бұрын

    My Apache tomcat server on starting shows "Server Tomcat v8.0 Server at localhost failed to start." error. What should I do?

  • @dom2323

    @dom2323

    6 жыл бұрын

    Tanisha Bansal Change the port number

  • @sashko59

    @sashko59

    5 жыл бұрын

    dont forget to adding /add if you forget slash(/) u will get this error

  • @agustdik3696

    @agustdik3696

    5 жыл бұрын

    @@sashko59 where

  • @agustdik3696

    @agustdik3696

    5 жыл бұрын

    @@dom2323 i tried but still doesn't work for me

  • @dom2323

    @dom2323

    5 жыл бұрын

    @@agustdik3696 need to see log

  • @rajasharathchandraacha9542
    @rajasharathchandraacha95425 жыл бұрын

    what should i call u a god or demigod!!!!!!!!!!!! thanks a lot

  • @saradavinjamuri9338
    @saradavinjamuri93382 жыл бұрын

    Sir can you make a video on new version of eclipse 7.0?

  • @55suchitrasathe20
    @55suchitrasathe205 жыл бұрын

    i dont have that "dynamic project option"

  • @tulvealgmail

    @tulvealgmail

    5 жыл бұрын

    go to Other > Web > Dynamic Web Project

  • @rajasasmal6589
    @rajasasmal6589 Жыл бұрын

    Sir web content field is missing under project section eclipse 15

  • @jyotimule6267
    @jyotimule6267 Жыл бұрын

    How to your browser in eclipse

  • @tdaniel95
    @tdaniel95 Жыл бұрын

    Selection is not within a valid module error How to fix it

  • @samuelkuraganti-23
    @samuelkuraganti-23 Жыл бұрын

    Sir Actually my tomcat server is 9.0 , it is not show in the New runtime sir

  • @agustdik3696
    @agustdik36965 жыл бұрын

    I couldn't get the tomcat started no matter how much i try 😕

  • @pallepravallika9039
    @pallepravallika90397 ай бұрын

    Sir I didn't get webcontent in my project..

  • @sepusrivastava2189
    @sepusrivastava21896 жыл бұрын

    I am using eclipse luna ad generate an error name 7.0.86

  • @Normalizing-polyamory
    @Normalizing-polyamory6 жыл бұрын

    Is it possible to create web applications without html? I don't know html and prefer to stick with java

  • @yogeshbhatt3806

    @yogeshbhatt3806

    5 жыл бұрын

    its impossible bcz html is web designing tool

  • @agustdik3696

    @agustdik3696

    5 жыл бұрын

    Hey html is easy You can learn the basics in 2 days

  • @WeirdStuffaaaa
    @WeirdStuffaaaa2 жыл бұрын

    I know you are building a basic app from this video series . but I need to develop a real world project for my project in uni. I want a tutorial for develop advanced thing in java servlets.

  • @backclover9651
    @backclover96517 ай бұрын

    I am not able to choose an existing server

  • @Unknow_crew
    @Unknow_crew3 жыл бұрын

    how to solve (org.apache.jasper.JasperException)it?

  • @elitesharma817
    @elitesharma8174 жыл бұрын

    Guys those whom are getting that Http 404 error, just be ensure that you may have not deleted the web.xml file. That was my mistake though...hope it may solve our issue as well.

  • @tejeshmarampudi3763
    @tejeshmarampudi37634 жыл бұрын

    iam unable to see jax-ws web services

  • @Name-pn5rf
    @Name-pn5rf5 жыл бұрын

    why can't i open in web browser?

  • @pyukiljanwani729
    @pyukiljanwani729 Жыл бұрын

    "The selection is not within a valid module" howto solve this erreo

  • @AmanKumar-jt9zb
    @AmanKumar-jt9zb3 жыл бұрын

    i m not getting java Resource folder

  • @yogeshbhatt3806
    @yogeshbhatt38065 жыл бұрын

    in html file you have written only "#submit" but in runtime its "submit query" written.. How is that possible ?

  • @rohans2002

    @rohans2002

    2 жыл бұрын

    The 'submit query' text inside the button is the default value. If you want 'xyz' to be written inside the button, just write

  • @himanshupatidar9413
    @himanshupatidar94135 жыл бұрын

    tomcat v7.0 failed to start how to fix it

  • @agustdik3696

    @agustdik3696

    5 жыл бұрын

    Same I've been trying for 3 days

  • @himanshupatidar9413

    @himanshupatidar9413

    5 жыл бұрын

    @@agustdik3696 change ur eclipse, download another version and install tomcat 9 it worked for me

  • @natture

    @natture

    4 жыл бұрын

    Facing same issue can u suugest how to fix it

  • @vkroks7739
    @vkroks77392 жыл бұрын

    Hii sir there is no option of dynamic web project in my eclipse why and not in sts 4

  • @aloksaw512

    @aloksaw512

    8 ай бұрын

    Same problem

  • @cmct.technology4061
    @cmct.technology40614 жыл бұрын

    Sir i dont have Dynamic web project option

  • @chakradharchinni2370

    @chakradharchinni2370

    4 жыл бұрын

    follow these steps file -> new -> other -> web -> dynamic web project -> click on Next :)

  • @alexanderarnold962

    @alexanderarnold962

    4 жыл бұрын

    @@chakradharchinni2370 I don't have web option😂😂

  • @vineetkumar7060

    @vineetkumar7060

    3 жыл бұрын

    That must be because your eclipse is not made for web projects. There are different versions of eclipse available on their website. Read the description and download accordingly.

  • @nicholasbegg1506
    @nicholasbegg15066 жыл бұрын

    Great. But why are servlets better than php?

  • @user-xs9dl7xl5h

    @user-xs9dl7xl5h

    5 жыл бұрын

    because you can write in java !!! and from what i heard php is old...

  • @nandinisrivastava1740
    @nandinisrivastava17404 жыл бұрын

    Sir, i got a 405 error

  • @kgnfilterproducts7341
    @kgnfilterproducts73414 жыл бұрын

    I got Solution instead of clicking (finish) go to next --> next and add web.xml

  • @trijaapilaka3310
    @trijaapilaka33105 жыл бұрын

    but I didn't get the o/p hello world is not showing . It showing status not found plllllllllzzzzzz help me sir

  • @radheyshyamyadav3036

    @radheyshyamyadav3036

    3 жыл бұрын

    You have to save your files before running

  • @bhavyakumarpanchotiya8254
    @bhavyakumarpanchotiya82544 жыл бұрын

    Plz speak Hindi language

  • @tukaramtmap1349
    @tukaramtmap13492 жыл бұрын

    Remove subtitles... U r talking xamm nd video showing sam... Wastage of space bcz of subtitle.. nd nt correct wording there... Apart from it turorials are more helpful

Келесі