JSPs and Servlets Tutorial 02 - First Servlet Part 1

  Рет қаралды 654,750

Java Brains

Java Brains

Күн бұрын

Using Eclipse wizards to create a Dynamic Web Project.

Пікірлер: 111
@supercalifragilisticexpial7380
@supercalifragilisticexpial7380 7 жыл бұрын
Thanks for the tutorial Optimus Prime !!
@iamnaran
@iamnaran 7 жыл бұрын
lol
@Leon-Li
@Leon-Li 8 жыл бұрын
For those who knew the basic parts, you can always speed up the video. this lesson is great because it tells you the basics so that you can start right from point 0.
@gaukaugaukau
@gaukaugaukau 12 жыл бұрын
Hello Sir...I just now did my M.Tech from IIIT Bangalore and placed as software developer in ebay chennai.Thankyou So much for ur help in understanding concepts of jsp servlets that helped me a lot during interview.You have done very very nice job.Thanks once again...
@Java.Brains
@Java.Brains 12 жыл бұрын
It's probably because you already have an instance of Tomcat running. That instance is using (listening on) port 8080. Shut that instance down, and then start the other one. If you really need two Tomcat instances running at the same time, you need to configure one of them to listen on a different port. Refer to the Tomcat docs for more info.
@oxlena
@oxlena 11 жыл бұрын
Already knew the basics, but you explained the why-and-how part of it. Very helpful, thank you.
@GokulRG
@GokulRG 9 жыл бұрын
Dude, This tutorial sounds like Satan is teaching me Servlets! :P
@PrashantGhimirePlus
@PrashantGhimirePlus 9 жыл бұрын
true ! haha, but nice tutorial though ...
@hieptm89
@hieptm89 9 жыл бұрын
Gokul Rama Funny guy :))
@darylldaviddagondon1091
@darylldaviddagondon1091 9 жыл бұрын
Gokul Rama i thought there's something wrong with my sound system. haha
@deezhang3828
@deezhang3828 7 жыл бұрын
Like a transformer XD~
@wilsoncardoso150
@wilsoncardoso150 6 жыл бұрын
HAHAHA
@Carpenter92
@Carpenter92 8 жыл бұрын
Learning JSP and Servlets from a quarian.
@HyperionCR
@HyperionCR 7 жыл бұрын
lmao
@simranjeetsingh8445
@simranjeetsingh8445 5 жыл бұрын
ROFL chi long qua the best programmer this world has ever seen XD
@Java.Brains
@Java.Brains 12 жыл бұрын
That means something went wrong in the deployment. Maybe a code / configuration issue. Check for the Tomcat startup logs (in console window) and see if there are any errors.
@jazzclubgdl
@jazzclubgdl 13 жыл бұрын
Only one suggestion, take care of the "uuh", "duh", "the", etc fillers, because they are really notorius. Excellent content and very easy to get =) really appreciate your effort. Thank you very much!
@trueredexe
@trueredexe 11 жыл бұрын
That voice effect was awesome.
@danjava8319
@danjava8319 12 жыл бұрын
Great video and training program you have created. Thanks! One note to others - Server may need to be re-started after saves.
@bbowling4979
@bbowling4979 9 жыл бұрын
One thing to mention also about the welcome file list in the web.xml file is that tomcat will process the list from top to bottom and use the first file that is available and readable.
@Leon-Li
@Leon-Li 8 жыл бұрын
Such an old video but i find it extremely helpful! The audio is alright for me.
@mabblers
@mabblers 12 жыл бұрын
Great Tutorial, easy too follow for us beginners. A BIG THANKS FOR YOUR TIME TO EXPLAIN THIS.
@dumbasffff
@dumbasffff 9 жыл бұрын
great, in depth tutorial dude. Helping me learn a lot!
@aoozzooa4794
@aoozzooa4794 11 жыл бұрын
I have deleted everything n re-did from the start! now, it has worked like a charm :)
@jamesgruta3288
@jamesgruta3288 9 жыл бұрын
are you summoning the devil through teaching servlets? :D
@SaltAndPepper.4U
@SaltAndPepper.4U 8 жыл бұрын
voice...Lol....feels like hearing lecture from a Ghost.... but this Ghost gave awesome lecture!!
@chg_m
@chg_m 8 жыл бұрын
the installion was terrible as hell. finally i am here
@TheSimpleification
@TheSimpleification 12 жыл бұрын
Thanks a lot, These tutorial vedios helped a lot me to create my project. Thanks again
@TheFlyguy31
@TheFlyguy31 7 жыл бұрын
A very thorough explanation thank you
@suneelkumardasari09
@suneelkumardasari09 11 жыл бұрын
Hello sir, i am new to java but have knowledge on core java.Now i started learning JSP&SERVLETS ..My query is regarding this tutorial i am not getting web.xml file file in Eclipse EEIDE.
@kartikkesarwani1320
@kartikkesarwani1320 3 жыл бұрын
damn nostalgia did you look at the browser and everything
@ruhlXXXL
@ruhlXXXL 8 жыл бұрын
For windows users If some one got 404 error(or server no permision error in console) with his html,jsp or servlet , but the localhost:8080 works fine , then install the tomcat7 in the mydocument directory not program files or in your drive C: or what ever , you dont have the permision to write there for some reason. After 4 days and 30-40 installs i found it :D
@mausam1427
@mausam1427 9 жыл бұрын
After creating project .classpath, .project file are missing.. and whenever I am executing my project it is showing HTTP 404. My Tomcat is working fine.
@srawat1212
@srawat1212 8 жыл бұрын
+Mausam Devolia I am facing the same problem. Can someone help ?
@yuefengdu5868
@yuefengdu5868 8 жыл бұрын
+Mausam Devolia Try to reconfigure the server, like changing the tomcat port number to 8081 or something that hasn't been used.Hope it works.
@nehalbhagat4764
@nehalbhagat4764 8 жыл бұрын
+Mausam Devolia I had the same problem but I realized the mistake. The 'index.html' should be under WebContent and not under WEB-INF.
@chg_m
@chg_m 8 жыл бұрын
+Nehal Bhagat MAN YOU ARE GOD. HOW DID I DO THIS MISTAKE
@chiragkalra
@chiragkalra 8 жыл бұрын
My "Index.html" file is under WebContent but still whenever I am executing my project it is showing HTTP 404. My Tomcat is working fine but only my project won't run. Any help appreciated
@avivi0000
@avivi0000 9 жыл бұрын
Very clear and helpful,thanks!
@zili8317
@zili8317 7 жыл бұрын
Thank you so much for your tutorial! It is really helpful!
@rkb591
@rkb591 9 жыл бұрын
@Nutan Singh for 404 error, please follow the first tutorial of this series. One suggestion: 1. Before, you follow the tutorial, First delete the server instances you've created in the eclipse environment. Ensure you delete all the server instances of tomcat and then re-start the Eclipse And follow the First Tutorial Hope this helps...
@JTCINDIA
@JTCINDIA 7 жыл бұрын
Very nicely explained
@MilanVucic94
@MilanVucic94 8 жыл бұрын
wtf is wrong with the sound in this video?
@AlexSanchez-iq4zh
@AlexSanchez-iq4zh 10 жыл бұрын
Great tutorials! Thank you!
@singhraunak09
@singhraunak09 11 жыл бұрын
sir ur all video a super but .. we can see this in only HD . if u can record this all tour in zooming way it will helpful to us thanking u it a request to u sir ...
@Arijit1Baidya
@Arijit1Baidya 11 жыл бұрын
great vtutorial...but please lessen the filler words.. ..bcoz u know the internet are just distraction as there are so manny websites.. so every one is in hurry(though no one will be able to read all the websites in his/her lifetime ..:)... so please make it crisp and little qucik..
@nauanx
@nauanx 12 жыл бұрын
no, that shouldn't be the reason. What file are trying to open? try opening index.html (click run on this page)
@sindhug4817
@sindhug4817 7 жыл бұрын
Thanks a lot for the tutorials...
@one_more_t1me
@one_more_t1me 12 жыл бұрын
Nice videos. Could you create tutorials for Web services(JAX-WS & JAX-RS) and EJB?
@monishrevuri9434
@monishrevuri9434 7 жыл бұрын
I'm unable to run the program in the way you run it. I'm able to get the output "Simple Web Application says hello" by executing index.html, but didn't get output by running whole project at once. I checked my web.xml file also. I also ran the program by not editing web.xml. Please help me with this !! Tutorial is awesome bro !! Thanks a lot .
@trueredexe
@trueredexe 11 жыл бұрын
Beautiful tutorial btw.
@vevin1986
@vevin1986 12 жыл бұрын
Thank a lot for such awesome videos :)
@iamnaran
@iamnaran 7 жыл бұрын
I love the animation at 7:36 :D
@jmd01
@jmd01 11 жыл бұрын
Wow - good job. Very clear :-)
@ivan.romaniv
@ivan.romaniv 10 жыл бұрын
You're cool man!! Thanks a lot for that!!
@jaishankarmishra5295
@jaishankarmishra5295 8 жыл бұрын
In web.xml encoding=UTF-8 and In index.html charset=ISO-8859-1 differs but in video both encoding are same. why ?? please explain.
@hellsing357
@hellsing357 13 жыл бұрын
Cool the voice echos ur Like an Auto Bot THe TUtorial is Great :D Thank you
@debdeepdas8376
@debdeepdas8376 3 жыл бұрын
Hi, In eclipse, in a Dynamic Web Project, when i click on run on server, "Choose an existing server" option is disabled. How to get that enabled?
@aoozzooa4794
@aoozzooa4794 11 жыл бұрын
Hi.. how did u correct it? I have been trying 4m hours n still not able 2 figure it out... I see the welcome page of apache tomcat, but not my application! Any info can be of great help!
@Bill-uh8ps
@Bill-uh8ps 9 жыл бұрын
Good tutorial for me , here I hava a question . I tried to delete index.html and keep default.html in web.xml , I wonder why I can run successfully and show the content I ` ve create before . Howerver if I keep index.jsp it appears 404 error.
@VIJAYKUMARREDDYALAVALA
@VIJAYKUMARREDDYALAVALA 10 жыл бұрын
Thanks a lot for this
@birqan
@birqan 12 жыл бұрын
@bbjja1 It´s not bad English, it´s only a different accent. ;-) By the way, great tutorial with bad sound...
@steveburrus5526
@steveburrus5526 8 жыл бұрын
I need all kinds of help/assis tance in truying to see an image of something in a Servlet. I am using Netbeans 8.0.2 and try as I might I can't see the img. please help me.
@tranceawaits
@tranceawaits 11 жыл бұрын
When i try to do my Sysout in the doGet method, the message doesn't show in the console. I have everything set up as per the instructions. Any help? Thank you
@bindassthakurtk260
@bindassthakurtk260 10 жыл бұрын
i found 404 error when m run my project on eclipse and also on tomcat tell me how to remove it
@charminglata9971
@charminglata9971 11 жыл бұрын
i followed u tutorial but i am getting the following error in eclipse helios as soon as i create my project : unhandled event loop exception permgen space Please help..!!
@erwinmesi
@erwinmesi 6 жыл бұрын
Is this still applicable in 2018?
@MuhammadCatubig
@MuhammadCatubig 8 жыл бұрын
Aquaman is teaching heheh... JK... Greate tutorials.
@813jag
@813jag 12 жыл бұрын
HI, I have my projects in two directory : d:/Jagdeep and d:/Ganesh/Java_ex in later directory when I run the servlet with help of eclipse it run and show output but in d:/jagdeep directory it always throw an error that tomcat can not be started as the port 8080 is being used by other application. Can anyone help me to resolve this?
@LookAnotherStreamer
@LookAnotherStreamer 11 жыл бұрын
What if I am using XAMP tomcat service?
@mayuronaldinho
@mayuronaldinho 12 жыл бұрын
oh, and i'm using windows, not linux. could that be the reason? should it be set up differently for windows. but when i type localhost:8080, the tomcat has been successfully set up page is displayed. but when i give localhost:8080/SimpleServletProject, it doesn't work. what could be the reason. please help.
@larrydalmeida8238
@larrydalmeida8238 9 жыл бұрын
Thank you!
@narayankauchamagar
@narayankauchamagar 12 жыл бұрын
Hi I am new for all this programming, when executing servlet its shows Unsupported major minor error 51.0 Please help
@MihaiLep17
@MihaiLep17 12 жыл бұрын
youre the boss
@charan5025
@charan5025 11 жыл бұрын
just change port number in Tomcat...like go to conf->server.xml and change port number other than 8080....
@TheGerakas
@TheGerakas 8 жыл бұрын
I can't find the web.xml within the WEB-INF folder!
@harunjaggi2015
@harunjaggi2015 8 жыл бұрын
Check if you checked the box at the last step before creating the project. You can see a checkbox with the following text: generate a web.xml deployment descriptor min: 3:25
@hardipkataria
@hardipkataria 11 жыл бұрын
How to deploy the application on google app engine?
@mayuronaldinho
@mayuronaldinho 12 жыл бұрын
i keep getting the server 404 error. this is what is says. - type Status report message /SimpleServletProject/ description The requested resource (/SimpleServletProject/) is not available. what do i do?
@YuviEntertainmentChannel
@YuviEntertainmentChannel 11 жыл бұрын
Can u upload Core Java topics please
@hussainv1
@hussainv1 11 жыл бұрын
Cool!
@manabbarman8633
@manabbarman8633 7 жыл бұрын
Anyone Playing it on 1.25 Speed :)
@mayuronaldinho
@mayuronaldinho 12 жыл бұрын
i'm using tomcat v5.5 by the way. could that be the reason?
@johncarter5050
@johncarter5050 8 жыл бұрын
I am getting http 404 error while following this tutorial. while running localhost:8085 it works fine but while I try to run localhost:8085/simpleservletproject it shows the 404 error... plz help me guys
@amanpurohit8234
@amanpurohit8234 8 жыл бұрын
i am facing the same problem.did you find the solution?
@cat-asd
@cat-asd 12 жыл бұрын
What you do with the sound? jjjj anyway thanks!
@syedalthafahmed3919
@syedalthafahmed3919 4 жыл бұрын
Bad audio sir!...pls look at it. I had same experience with many of your videos.👍
@puneethshivalingaiah
@puneethshivalingaiah 9 жыл бұрын
Thanks :)
@well948
@well948 9 жыл бұрын
kool mate
@kasper0341
@kasper0341 10 жыл бұрын
no 'web.xml' file created ?? any ideas ?
@kasper0341
@kasper0341 10 жыл бұрын
ok found it, i missed an option 'generate web.xml deployment descriptoor' :P
@kazimahmedPasha
@kazimahmedPasha 9 жыл бұрын
it will automatically created after u add server
@deepjitdas6986
@deepjitdas6986 8 жыл бұрын
i got an error when i start webpage in eclipise
@amanpurohit8234
@amanpurohit8234 8 жыл бұрын
i am also getting the same error, Did you find any solution?
@deepjitdas6986
@deepjitdas6986 8 жыл бұрын
Aman Purohit remove jdk and install the new version
@amanpurohit8234
@amanpurohit8234 8 жыл бұрын
Deepjit das I already have latest version of jdk(jdk 8).My tomcat is working fine but when I am opening simpleservlet application I am getting 404 error.Do you know how can I solve this problem?
@deepjitdas6986
@deepjitdas6986 8 жыл бұрын
Reinstall bro...
@DiegoManuelBenitezEnciso
@DiegoManuelBenitezEnciso 12 жыл бұрын
muy bien
@amitkumar-ev5xh
@amitkumar-ev5xh 6 жыл бұрын
sir in WEB.INF I am not getting any XML file
@raghuram8663
@raghuram8663 6 жыл бұрын
you might not have checked "Generate web.xml deployment destructor"
@danielgun
@danielgun 11 жыл бұрын
Or maybe even Oracle
@Emslaender_Jung
@Emslaender_Jung 12 жыл бұрын
@bbjja1 i understand him pretty well,lol
@9501075473
@9501075473 9 жыл бұрын
the audio quality sucks plz use a better mic
@jerin_stephen
@jerin_stephen 7 жыл бұрын
please speak louder
@anubhavgreen
@anubhavgreen 11 жыл бұрын
m not saying u r not good on the contrary i believe u r brilliant but u waste a little time in explaining that dont needs explaination or just stating obvious things
@x0x0x0x0x0ful
@x0x0x0x0x0ful 12 жыл бұрын
delete all your history and try again
@mehtaviral8
@mehtaviral8 8 жыл бұрын
The audio is pathetic..
JSPs and Servlets Tutorial 02 - First Servlet Part 2
11:26
Java Brains
Рет қаралды 432 М.
JSPs and Servlets Tutorial 08 - Request, Session and Context Part 1
15:00
Good teacher wows kids with practical examples #shorts
00:32
I migliori trucchetti di Fabiosa
Рет қаралды 9 МЛН
iPhone or Chocolate??
00:16
Hungry FAM
Рет қаралды 52 МЛН
Top 25 Microservice Interview Questions Answered - Java Brains
39:54
Servlet Program using Eclipse (2022) | Simple Servlet using Tomcat and Eclipse
13:02
Jakarta EE vs J2EE vs Java EE | Are you Confused ?
5:50
in28minutes - Get Cloud Certified
Рет қаралды 17 М.
Microservices explained - the What, Why and How?
18:30
TechWorld with Nana
Рет қаралды 865 М.
What is Kafka?
9:17
IBM Technology
Рет қаралды 465 М.
JSPs and Servlets Tutorial 06 - Passing More Parameters
14:56
Java Brains
Рет қаралды 239 М.
Good teacher wows kids with practical examples #shorts
00:32
I migliori trucchetti di Fabiosa
Рет қаралды 9 МЛН