hi, @4:10 you have missed to type [response.setContentType("text/html");] , thats the reason your is displaying in browser. Always like to watch your videos. Keep on uploading the latest updates. Thank you Naveen Sir.
@nooobgammer6 жыл бұрын
Yep bro
@arjunrao5033 жыл бұрын
Its working
@AlphaGamingWorld3 жыл бұрын
I didn't did anything you told and I can use html tags in print writer and they are working. I don't know why. Maybe because I am using println instead of print.
@mohammedzaid38293 жыл бұрын
@@AlphaGamingWorld it basically depends on browser,,some browser take br tag as plain whereas some take it as tag(gives new line )>>which is your case,,for safer side setcontenttype is used
@memezthug15074 ай бұрын
Where to add this bro After out.print("hi")?
@wilsoncardoso1506 жыл бұрын
I just came here to say thank you so much for sharing and explaining the knowledge that you have, you explain with so much patient and passion that I was able to understand completely. Keep up the good work.
@rajashekarreddy24616 жыл бұрын
Here we expect something unique from other videos, like how it works rather than what is it. Thanks nice
@priyankadabe72773 жыл бұрын
People Like u..really build the world.. Telusko clears every concept.very neatly.. Thanks!!! Brilliant.
@indianentertainer9895 Жыл бұрын
As always simple and Clear fantastic explanation 👏❤️
@yogiraj_dange81306 жыл бұрын
Please do videos on software testing. You explain really very well. I love to learn from you.. Thank you
@realhealthywater71353 жыл бұрын
Super Super clean and clear example of servlet config and servlet context. WOW
@karthikavijayaraghavan12634 жыл бұрын
Its very clear. All your videos are very useful to understand the concepts v clearly Sir. Thanks a ton
@anujkumbhar20756 жыл бұрын
i watch so many videos on dis topic..bt i could nt understand. after then dis video help me to understand the diff. b/w config and context.... thank uh sir....
@javascriptwar95256 жыл бұрын
Thankyou very much sir... it means for readability we can mention url of database, username and password also in web. xml file no need to go for changing in servlet class...☺
@swathiallu98196 жыл бұрын
Very clear explanation. Thanks a lot for this video. Please make some more videos on this topic with realtime examples.
@andregoulbourne8393 жыл бұрын
Great Explanation! Straight to the Point.
@trendingvideos25176 жыл бұрын
Excellent and clear explanation.Thank you for uploading.
@jeremyFaden Жыл бұрын
I would love to hear more about META-INF/context.xml, where you can have the the same web application running serveral times with different configurations in the same Tomcat instance. At least I think that's the case, and I'm having trouble finding documentation for it. Thanks for the video!
@greecemathapamagar70855 жыл бұрын
Sir ur too amazing, god bless u, and u keep blessing us with ur wonderful understandable videos
@Lord-v2s4 жыл бұрын
At 4:16 I keep getting an error saying *The requested resource [/Servlet_prog/servlet/com.abhishek.Context] is not available*
@DhanalakshmiKaruppusamy-lx8ch4 ай бұрын
Facing the same trouble
@abcdef64354 жыл бұрын
Hello sir, can you explain what is "protected" in your servlet file that you
@kirangiri83945 жыл бұрын
why do you use /home in url pattern please help my code is not runnig...........?????
@ksaikumarnaik2715 жыл бұрын
Same problem bro... if u got the answer plss reply why /home
@omu_de_la_mare4 жыл бұрын
@KsaikumarNaik This worked for me. Just create an empty home.jsp and when you run from the server, make sure you are in the tab of MyServlet and double click and run as ..server etc.. and it will work.
@akshayalakshmanan36744 жыл бұрын
@@omu_de_la_mare Thanks brother
@nehakiran79916 жыл бұрын
Please explain what you have written in JSP pages.
@gauravanil17493 жыл бұрын
Neha, Just create home.html page instead of home.jsp with that basic snippet, mention action="home" and method="get", then normal submit button. Don't accept any values just normal submit button. It will work.
@arjunrao5033 жыл бұрын
@@gauravanil1749 Thank you, its working
@yashwanthkumarmn53028 ай бұрын
@@gauravanil1749 Thank you
@BibekGhoshh12 жыл бұрын
what is in the home.jsp file????
@lulubegaga5 жыл бұрын
Hi, can anyone help me, please? What should I write in the home.jsp file in order to access the servlet, since he's not using a form nor an href? It seems to go automatically from home.jsp straight to the servlet.
@shwetabambal58694 жыл бұрын
I dont know if you are going to reply to this query, but, how come u put /home - url-pattern for this servlet?? will u plz explain?
@DhanalakshmiKaruppusamy-lx8ch4 ай бұрын
Same doubt
@NitinYadav-vs9qq5 жыл бұрын
Sir which book do we use for jsp and servlet
@wpatyune16314 жыл бұрын
So if connect to the DB, it would be servlet context to share all servlet? and you call it to every time to different servlet?
@njadnissi74552 жыл бұрын
Hi Telusko, I wanna ask : between using JavaScript and Using Filter to check wether data in the form are right before to sending to a servlet, which one of the choices is the best.???
@forstoringdavidatad25252 жыл бұрын
I have a requirement where i have to move migrate from web.xml to java config class can you please help
@faisalhabibhimel31136 жыл бұрын
you didn't explain anything about what you did in .JSP files. In url pattern of web.xml page, you called home, but you didn't show what you did in there. It would be better if you could give the source code of every lecture.
@milaanvigraham86646 жыл бұрын
It's part of a playlist dude, it's there in previous videos...
@faisalhabibhimel31136 жыл бұрын
i guess the playlist is little order-less man. After #10, they're not numbered.I found these JSP codes some videos later in the playlist.
@DeathBender5 жыл бұрын
@@milaanvigraham8664 No he simply didn't at all, I watched all the previous videos and he just happened to have those jsp files on that one (you can figure it out by yourself, yet ...). So actually just edit web.xml correspondingly create at least home.jsp in the same folder as he did (pause the vid and take a look at the mentioned parts). Not sure if Header.jsp is required this vids content compiled (just compile MyServlet) and ran with a "blank" (no content added) home.jsp for me (and ofc the changes to the web.xml).
@omu_de_la_mare4 жыл бұрын
@DeathBender This worked for me. Just create an empty home.jsp and when you run from the server, make sure you are in the tab of MyServlet and double click and run as ..server etc.. and it will work.
@sravyav26235 жыл бұрын
How to specify context and config parameter values if we don't use web.xml and use annotations
@swagatachakraborty2655 жыл бұрын
Sir please help me why i m getting a blank page. All are did same as u say 😔😔😔😔
@rubalshukla62084 жыл бұрын
If you are following the previous videos as well So I suggest you create a new project and do all the steps as shown in the video hope this helps
@FaizanShaikh-pp1kg6 жыл бұрын
Very nicely explained...
@pradeepsolanki19636 жыл бұрын
Nicely explained, Thanks.
@jaishreeganesh75976 жыл бұрын
Sir,I want to join Spring MVC Live online courses from your channel..how can I contact you?
@benjaminroy66105 жыл бұрын
Can we use both of them with annotation instead of writing in .xml file? If yes how. Thank you for your videos.
@asifalam90866 жыл бұрын
Why do you call us Aliens?
@nikhilvijay60223 жыл бұрын
haha yes
@abhiytbolte7566 Жыл бұрын
May be because he is from another planet 🌝... Though awesome teacher no hate ❤❤
@Bharadwajav96 жыл бұрын
Hi,Can u Please tell what was the "URL" (web.xml) written in above video,Thank You u
@javascriptwar95256 жыл бұрын
web.xml file also called as deployment descriptor file there we have to mention for which url which of the available servlet(Servlet is nothing but it just our .java friend) should called..
@saurabrakshit4054 жыл бұрын
nicely understood sir ! ! ! ! !
@ShivamKendre-fc3su2 жыл бұрын
great explanation
@surajtopal99403 жыл бұрын
thanks a lot sir ji
@bijilkp43156 жыл бұрын
Sir,which programming language is suitable for a beginner
@riyapathak67434 жыл бұрын
C language
@tdan89 Жыл бұрын
@@riyapathak6743 evil :))
@nikhilpant64284 жыл бұрын
what are life cycles of servlet?
@mahimashah99195 жыл бұрын
Well explained 👏🏻
@shreyanshjain23476 жыл бұрын
Nicely explained.
@blaxminarayanpatra73116 жыл бұрын
thank u for uploading this video and sir if possible please tell how internally serveltConfig and servletContext will work
@guilherme44142 жыл бұрын
Because in Servlet don't use "@Context HttpServletRequest request"
@pratikgupta73736 жыл бұрын
Sir I want to apply for internship What should I study for Java internship I have studied j2se and SQL
@mickykumar75735 жыл бұрын
this code is not running in netbeans help sir
@velliyangiria15543 жыл бұрын
Great video
@paulmathai25616 жыл бұрын
I clicked on the JOIN link but did not work.
@sravanthkumarchintalacheru13596 жыл бұрын
Try patreon link 🔗, sir. It seems that Join option is not available for IOS ( apple ) and some other versions. You can find the patreon link in the description part of the video 'support' of this series.
@sandeeprapolusandeeprapolu6 жыл бұрын
Your are awesome sir
@yashsinha76044 жыл бұрын
I have installed apache 9in my system and at the time of config to eclipse kepler the version which was appeard was till apache tomcat 7 My server is not starting pls help sir plssssss
@vinays42054 жыл бұрын
Check in your system. It may be running other server. Or change the port name.
@nithishreddy90566 жыл бұрын
Please explain about url pattern in web XML in servletcontext
@chinmaydas40536 жыл бұрын
Please sir first complete full quality aws tutorials bcz job opportunities are available now for aws.. we have to survive first..
@ajayadgama19626 жыл бұрын
Share other ways to get servletContext and servletConfig object
@t2kumarashutosh20115 жыл бұрын
How can I explain about ur video...I don't have any word
@agustdik36965 жыл бұрын
So don't 😂
@ankitaverma22714 жыл бұрын
sir,need to have more knowledge about cookies.
@ankitaverma22714 жыл бұрын
please have one theory video of it.
@ayoubanbara16855 жыл бұрын
Thank you
@guitarheart37235 жыл бұрын
dear naveen sir... you did not write res.setContentType("text/html");
@sankar04465 жыл бұрын
Thanks sir
@agustdik36965 жыл бұрын
I just want to zoom out these videos
@AkashGupta-hn4wu5 жыл бұрын
Hi, I tried to do same as you have shown in your Servlet Config and Servlet Context video.And i am getting null value when i used Servlet Config to fetch value from web.xml file. Can you please help here?
@inclinedscorpio5 жыл бұрын
Save both .xml and java files and restart the server !!! TAddaaa Done ? Still not done ? -> Then check for error marked by small red cross at left side of lines ..... Hope this helps !
@swagatachakraborty2655 жыл бұрын
Same prblm..😔😔 i cnt get any value Frustrated
@drakshayanibakka114 жыл бұрын
Hey bro ...I have got the same error. Then I realised that I have included the init-param tag in another servlet tag say servlet-A and I am trying to fetch values from the servlet-B which I have not included init-param tag yet.That's why I got null value.This might be helpful
@rubalshukla62084 жыл бұрын
I was also facing this issue but then I found I did a little Typo on getInitParameter(Name) here the N should be capital because its a case sensitive please check that you are mentioning the same param-name of web XML in servlet file hope this helps
@archana_pidugu Жыл бұрын
@@drakshayanibakka11 Thank you :)
@omkarbadhe4212 жыл бұрын
Showing null value
@ОлегТокмачев-в9ц2 жыл бұрын
oooo thanks!
@pradeepmishra19054 жыл бұрын
Sir, u are not explaining thoroughly as u r just explaining how to use such interfaces but when and why to use such things?
@sagarmeena02106 жыл бұрын
amazing
@immortalhuman70856 жыл бұрын
Thanks
@ankitaB112 жыл бұрын
@sonalighante32796 жыл бұрын
plz I need software testing videos
@hamidsiddiqui64526 жыл бұрын
Sonali Ghante watch reddy video for testing it will help
@Armannewyork016 жыл бұрын
Hello Sir
@patrisagar65482 жыл бұрын
Anna don't say aliens.. em baaledu
@shubhambhake22075 жыл бұрын
why u speak so fast...?
@andrewawadike7560 Жыл бұрын
At 6.18 When I tried configuring I encountered this error "Element name 'init-param' is invalid. One of the following is expected: - module-name - description - display-name - icon - distributable - context-param - filter - filter-mapping - listener - servlet - servlet-mapping - session-config - mime-mapping - welcome-file-list - error-page - jsp-config - security-constraint - login-config - security-role - env-entry - ejb-ref - ejb-local- ref - service-ref - resource-ref - resource-env-ref - message-destination-ref - persistence-context-ref - persistence-unit-ref - post-construct - pre-destroy - data-source - jms-connection-factory - jms-destination - mail-session - connection-factory - administered-object - message-destination - locale-encoding-mapping-list - default-context-path - request-character- encoding - response-character-encoding - deny-uncovered-http-methods - absolute-ordering Error indicated by: { xmlns.jcp.org/xml/ns/javaee} with code:" please help out