Hello Sir, in Servlet2 , when I'm using doPost method I'm getting Error.....& When I'm using doGet method then no error but surprising fact is that in output I'm getting full name including spaces also....
Sir there is a problem. Message :HTTP method GET is not supported by this URL Description :The method received in the request-line is known by the origin server but not supported by the target resource. what can i do
Bro attribute wale video me parameter 2nd servlet se access kr paa rahe the.. usme cookie ki jarurat nai padi thi.. esa kyu.. request dispatcher tha isliye?
Ha exaclty kyunki request dispatcher request forward karta he isliye pehlse se request object me name ki value hoti he aur hume sirf use fetch karna hota he. yaha servlet 2 pe jane ke liye new request create hoti he.
Shouldn't you check the content of the cookie and not just the name of the cookie ? i mean is it right to just check the name of the cookie ? dont you have to match the cookie value with something ?
if you set attribute in servlet 1 and access it in the servlet 2 then it working fine, but when you are trying to directly the link of the second servlet in new tab it will not work your passed attribute holds null value.
when i click the button go to servlet2 i got an 404 error even i already mapped into web.xml can anyone explain how can i mapp same url pattern with diffrent servlet like there is two servlet and only one url pattern
Thanks a brother for sharing your wonderful knowledge. Very in depth presentation..
Don't stop making videos. You've got an amazing teaching skill. Keep going ahead!
Bangaldeshi?
Knowledgeful video for beginners.
I feel soo cool to know I can create cookies
Explained in depth. Great
A very good program. Thanks Durgesh
finally done with session tracking and cookiesss yessssssssssssss
no one can teach like you sir
bro you are so helpfull thankuu
best presentation !!!!!!
really you r outstanding sir
Good sir ji thanks
really very helpfull, tnx bro
Thanks very useful 👍
10 din laga ye tutosamajneme. But it's helpful
"
Thanks bro"
so nice
Thanks very helpful
tomorrow my exam today i see this video hahahahahahahhah
thank uh bhai
awesome
Brother sab to thik hai thoda sa notes ka pdf file aur play store par rehta to maza aata
Hello Sir, in Servlet2 , when I'm using doPost method I'm getting Error.....& When I'm using doGet method then no error but surprising fact is that in output I'm getting full name including spaces also....
Servlet2 par doGet use karenge
@babablack the anchor tag ( ) use the get method , so we need to use the doGet() method
in index.html when you are writing method='post' instead tof this try to write method='POST' this one worked for me
thanks a lot sir ji
Awesome presentation bro.... Good job 👍👍 but can you use eclipse ide so easily understand for everyone
space problem is only for tomcat version 8.5+ I'm using 7 its working with spaces.
Now i can understand why we use first name and last name 😂
Does cookies concept resembles attributes concept of setting and getting data sir..
Sir there is a problem.
Message :HTTP method GET is not supported by this URL
Description :The method received in the request-line is known by the origin server but not supported by the target resource.
what can i do
Bro same problem did u solved it now
@@shivakrishna7293 this problem may occur because you may use doPost method try it with doGet..I soved it by this
Bro attribute wale video me parameter 2nd servlet se access kr paa rahe the.. usme cookie ki jarurat nai padi thi.. esa kyu.. request dispatcher tha isliye?
Ha exaclty kyunki request dispatcher request forward karta he isliye pehlse se request object me name ki value hoti he aur hume sirf use fetch karna hota he. yaha servlet 2 pe jane ke liye new request create hoti he.
Sir web services pe videos bnao
😊
I am not giving name to servlet 1 and going to servlet2 but the msg not coming..
RequestDispeture solved the problems
Sir humara space per bhi output same aa raha he... Please reply???
Sir web.xml ke bina ye example kaise chal sakta h??>???????????????????????????
Shouldn't you check the content of the cookie and not just the name of the cookie ? i mean is it right to just check the name of the cookie ? dont you have to match the cookie value with something ?
we can also sends the data with help of attribute from one servlet to another then why cookies
if you set attribute in servlet 1 and access it in the servlet 2 then it working fine, but
when you are trying to directly the link of the second servlet in new tab it will not work your passed attribute holds null value.
hello durgesh sir, could you provide us the slides of all these videos
Sir iski bhi web.xml file bnani pdegi ????
In this program why we not done servlet mapping ??
when i click the button go to servlet2 i got an 404 error even i already mapped into web.xml can anyone explain how can i mapp same url pattern with diffrent servlet like there is two servlet and only one url pattern
how did you solve it....I am facing same problem
Sir mera second servlet pr name show nhi ho rha, na hi null show ho rha
Jo me getparmeter() se daal rha hu vo name show ho rha h
String name= "name";
Write In Servlet2
Sir I am getting an error How to solve please Suggest me...
cookies add krane per servlet2 me name show nahi ka
r raha hai why?
sir mera space wala exception nahi aa raha hai reason ??
may be tomcat server version
Hello sir...
Can I get the notes of jsp and servlet
bro, cookie is not working on crome but when i run on Microsoft edge it work why ??
cookies might be disabled on browser settings its one of the disadvantage of cookie that it will only function when its allowed from the browser
Sir you are great 💯♥️.. Eclipse use kero please
could u please provide the project file also
code file to da