#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
Navin ur English is crystal clear without any ambiguity . Its really helpful to understand the things.
Telusko so simple and straight to the point!
Very brief and helpful. Thanks!
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...
AWESOME teaching!!!! 🔥 thank you for your videos, there are really helping me! 🙏🏽💙
Thank you sir, greetings from Brazil!
thanks navin , greetings from Ecuador
Your Tutorials have always been greatly helpful and this JSP Project series is a Gem. Keep up the good work sir.
loving your tutorials......please make more such series.....Thanks a ton
Amazing! Never seen such crisp and to the point tutorials
Thanks it was very helpful tutorial Thanks alot
Very much on the point. Thanks Dude.
Thank you . This tutorial is helpful . Good luck mr Navin
Thank you very much sir for your work! you are a great teacher)
you are genius sir ,i like your teaching style.
you are my all time saviour...😊
This helped a lot, thank you
Very useful, Thanks a lot.
you are amazing teacher. thank you so much
Thank you for sharing your knowledge 🙂
You are fantastic man..thanks a lot..
Tq sir... Your teaching is awesome...
You are awesome sir....Respect💮💮💮
Thanks a lot, Sir!
You just saved my life
O my god it's just amazing
Nice sir.we want to see real life projects in java like online payment system,online shopping carts etc..
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..
Many thanks for sharing
thankx a lot lov u from pak
Thx uncle ji
it is not working on my eclipse it says 404 error
thanks a lot sir!
oh,it's so great👍👍👍👍👍👍👍👍👍👍👍👍👍
Thanks..... You've helped me out.....do me a favour, pls make playlist for each particular topic if possible to you
You are great
Thank you sir
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
I wish you could go with maven or gradle configuration
Thankyou so much foe the video it helped me a lot .If possible please teach Spring and Hibernet in real time
thanks bro...
Thank you
Thank you 🔥🔥🔥🔥🔥
In my lap it doesn't showing dynamic project option what should I do
شكرا لك thanks ..
java resource folder and java script resources folder is not showing in my web dynamic project... what should i do ?
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
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
You are a beautiful beautiful person, thank you so much for this video
Sir While creating the dynamic project I am unable to see JavaResources, WebContent and JavaScript Resources folder i
sir what is difference between eclipse netbeans for java
Sir which font you use in eclipse
Hi, The Project opens with an error when creating a dynamic web project with Tom Cat Server in eclipse
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??
a small red cross symbol is showing on my DemoApp folder. What is that?
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?
How to set internal browser in eclipse?
Hey i know java core, do i need to know html first in order to learn servlet and jsp?
Nice
thanx
i like your presentation especially on python but when you use eclipse zoom it, it is better to see the code.
i am getting a small red cross in the project name folder, any solution or what it is actually?
@pradhyudh
10 ай бұрын
it is an error regarding web.xml file, in (Iso) named line there will be error
geting 404 error with Eclipse Oxygen and tomcat 8.5 server. please help Telusko....
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
3 жыл бұрын
You forgot to check web.xml 1:30
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
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
2 жыл бұрын
@@pankajsharma-rf1ov thank you bhai tumne problem dur kardi . Happy Diwali 2021🕉🕉🕉🕉🕉🕉🕉
Please provide the code used in your tutorials in the video description.
The origin server did not find on eclipse showing error after run on server
My Apache tomcat server on starting shows "Server Tomcat v8.0 Server at localhost failed to start." error. What should I do?
@dom2323
6 жыл бұрын
Tanisha Bansal Change the port number
@sashko59
5 жыл бұрын
dont forget to adding /add if you forget slash(/) u will get this error
@agustdik3696
5 жыл бұрын
@@sashko59 where
@agustdik3696
5 жыл бұрын
@@dom2323 i tried but still doesn't work for me
@dom2323
5 жыл бұрын
@@agustdik3696 need to see log
what should i call u a god or demigod!!!!!!!!!!!! thanks a lot
Sir can you make a video on new version of eclipse 7.0?
i dont have that "dynamic project option"
@tulvealgmail
5 жыл бұрын
go to Other > Web > Dynamic Web Project
Sir web content field is missing under project section eclipse 15
How to your browser in eclipse
Selection is not within a valid module error How to fix it
Sir Actually my tomcat server is 9.0 , it is not show in the New runtime sir
I couldn't get the tomcat started no matter how much i try 😕
Sir I didn't get webcontent in my project..
I am using eclipse luna ad generate an error name 7.0.86
Is it possible to create web applications without html? I don't know html and prefer to stick with java
@yogeshbhatt3806
5 жыл бұрын
its impossible bcz html is web designing tool
@agustdik3696
5 жыл бұрын
Hey html is easy You can learn the basics in 2 days
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.
I am not able to choose an existing server
how to solve (org.apache.jasper.JasperException)it?
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.
iam unable to see jax-ws web services
why can't i open in web browser?
"The selection is not within a valid module" howto solve this erreo
i m not getting java Resource folder
in html file you have written only "#submit" but in runtime its "submit query" written.. How is that possible ?
@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
tomcat v7.0 failed to start how to fix it
@agustdik3696
5 жыл бұрын
Same I've been trying for 3 days
@himanshupatidar9413
5 жыл бұрын
@@agustdik3696 change ur eclipse, download another version and install tomcat 9 it worked for me
@natture
4 жыл бұрын
Facing same issue can u suugest how to fix it
Hii sir there is no option of dynamic web project in my eclipse why and not in sts 4
@aloksaw512
8 ай бұрын
Same problem
Sir i dont have Dynamic web project option
@chakradharchinni2370
4 жыл бұрын
follow these steps file -> new -> other -> web -> dynamic web project -> click on Next :)
@alexanderarnold962
4 жыл бұрын
@@chakradharchinni2370 I don't have web option😂😂
@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.
Great. But why are servlets better than php?
@user-xs9dl7xl5h
5 жыл бұрын
because you can write in java !!! and from what i heard php is old...
Sir, i got a 405 error
I got Solution instead of clicking (finish) go to next --> next and add web.xml
but I didn't get the o/p hello world is not showing . It showing status not found plllllllllzzzzzz help me sir
@radheyshyamyadav3036
3 жыл бұрын
You have to save your files before running
Plz speak Hindi language
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