JSP View in Spring Boot in 2 steps | Spring Boot Tutorial in Hindi
HTML-код
- Опубликовано: 4 окт 2024
- In this video we are going to learn how to use jsp as a view in spring boot project. how to configure jsp for spring boot project in simple step
JSP View in Spring Boot in 2 steps | Spring Boot Tutorial in Hindi
#springboot #spring boot tutorial
Download Source Code: learncodewithd...
Spring-boot full playlist: • Spring Boot Tutorial i...
Spring MVC playlist: • Spring MVC Tutorial St...
Spring framework playlist: • Spring Framework Tutor...
MySQL in one video: • Learn MySQL in one vid...
Telegram Link for Doubt: t.me/learncode...
Important Videos:
➡️React JS with Project: • 🔥 🔥 Complete React Js ...
➡️Learn JDBC in one video: • JDBC Crash Course in 1...
➡️Learn Python in One Video: • Learn Python in One Vi...
➡️Learn HTML in one video: • Jquery in one video in...
➡️Learn HTML form in one video: • Jquery in one video in...
➡️Learn JavaScript in one videos: • Learn JavaScript in O...
➡️Learn Form Validation using javascript and jquery: • Form Validation using ...
➡️Learn CSS in one video: • Jquery in one video in...
➡️Jquery in one video: • Jquery in one video in...
➡️Kotlin is one video: • Kotlin | Learn Kotlin ...
➡️Complete Python Project - RUclips downloader in one video: • Jquery in one video in...
Important Playlist:
➡️Spring Boot Tutorial with Project : • Spring Boot Tutorial i...
➡️Spring MVC Tutorial: • Spring MVC Tutorial St...
➡️Complete Spring Framework Tutorial: • Spring Framework Tutor...
➡️Hibernate Tutorials: • Hibernate Tutorial for...
➡️E-Commerce Project using Java: • E-Commerce Project usi...
➡️AWS Free Java Hosting Playlist: • AWS Hosting Tutorial |...
➡️Hibernate Tutorial Playlist: • Hibernate Tutorial for...
➡️Learn Technology in One Vides: • Learn in one video : C...
➡️Programming Tips for Programmers: • Coding Tips and Discus...
➡️Complete Python for Beginners: • Complete Python Tutori...
➡️Important Python Projects: • Python Projects in Hindi
➡️Complete Servlet & JSP : • Servlet and Jsp (Serve...
➡️Complete JDBC ( Java Database Connectivity) : • JDBC(Java Database Con...
➡️Complete Java Project : TechBlog: • Full Java Advance Pro...
➡️Java Swing Projects: • Java Projects for begi...
➡️Java Core Concepts: • Java Core Tutorial
➡️Kya aap Jante hai Series: • kya app jante hai : s...
Important Links:
👉Official Website (Source Code): learncodewithd...
👉Telegram Discussion Group: t.me/learncode...
👉Follow me on Instagram: / durgesh_k_t
👉Follow on Facebook / learncodewithdurgesh
Gear that I use:
Gears that I Use:
Lenovo Ideapad S145 AMD Ryzen 5 15.6
amzn.to/33Vvxu2
Mic for Recording
amzn.to/305hgtr
amzn.to/2EyFMfa
Disclaimer:
All videos are for educational purposes and use them wisely. Any video may have a slight mistake, please take decisions based on your research. This video is not forcing anything on you.
If anybody not found jsp file then 1. Go to help
2 . Install new software
3. Select all available sites
4. Select XML, JAVA EE, OSGi enterprise development
5 . Then select eclipse web development tools
And then finish and you will get the jsp file after installing this software
But you should wait until installation
bro I am not able to see any available site as mentioned in point 3
very helpfull. Thank you
@@kashifzahid8480 in work with drop-down
Thank you 👍
Thanks bro ...solved my problem
If file is getting automatically downloaded even after adding jasper-tomcat dependency then just remove the line from the dependency and everything will be fine.
Thanks very useful comment 👍
Thankyou
thank you
Thank you ❤
still getting that fucking issue
1 ghanta se pareshan tha ye white label error se abhi samjh me aaya jasper dependency inject karna tha... Thanks bro
Thank you sir , I understand the project structure difference between html and jsp.
In spring boot application we will create the files in 'target' folder by default given, But if we want to create jsp files we have to create same html pages in src/webapp/views/.something.jsp etc, by giving extension of .jsp........ but we have to configure the properties file for prefix and suffix..
Aapne Spring seekhna ekdum aasan kar diya hai
durgesh vai hats of to you sir because of u and ur tutorial i have been able to learn so many things. best wishes to u and your family sir.
jsb is not visible in wizard when create a new jsp file in views.
Faced the same issue when we install STS it doesnt come by default we have to go to
Help -> Eclipse MarketPlace -> Eclipse Enterprise Java and Web Developer tools
Install it and once installed restart the STS and issue will be resolved.
done that too but showing error while downloading
@@mahimatolani813
@@mahimatolani813 issue solved Thank you brother
@@mahimatolani813 issue resolved , thanks
In my case it is just showing the name of JSP file that I am returning from controller.. not showing page.. anybody can help?
Same here
for big projects what would be better thymeleaf or react?
Hii sir.
1. Sir how much java we knows before learning spring-boot?
2. What should we know (java को छोड़ कर ) before learning the spring boot?
How to mater java stack ek video banaya hai maine dekho samjh jaoge
even after removing the jasper version , the jsp file gets downloaded everytime i access the jsp page, what to do now?
Great job sir.
sir I am not getting option to create jsp file
Same pls help😢
Very thanks bayya
jsp file option is missing in wizard how to resolve it
For me it's returning the filename as output not the JSP page what to do?
Same issue with me
Did u find the solution? Please let me know!
@Growers I used thymeleaf to render views hope it u will use it and it easily integrates with spring boot
@@SaiDinesh_ thanks dinesh, I used @controller annotation instead of @restcontroller, it's working fine now. :)
Haa that too works
Sir when i add thymeleaf dependency with JSP pages , spring boot gave me error , [home page ] NOT FOUND...what is the problem with JSP?
with thyemeleaf deoendancy.
Hello sir...hope you are doing good...facing one issue...I followed all your instructions but while creating a jsp file I'm not getting any option in the Select a wizard option tab for jsp file which comes under web and the web is also missing. could you please help me with the same?
Thanks
did you get the solution?
when i run the project from terminal i m getting html pages but didnt get the jsp pages ....may i know why i m not getting jsp pages while running the jar file .........................thankyou brother in advance
Thank you very much Sir..it's very useful for me.😄😄😄
I struggled allot for jsp in sb, you solved it thanks
how you resolved it i am getting same errror
Guys if ur facing still that error then check ur JSP file is actually in views folder or not, mine was not so that I got this error and now my boot application working properly
hello actually my project structure is not in right way by default its create java and resources folder in and if i create folder in src so its third folder in the src can give me some solution for this
If someone is not able to load any JSP page then just restart the sts and after that run the project and enter the URL in browser or refresh the browser
Thank you so much ..its very helpful ..God bless u buddy
I cannot find jsp in the options.
Also the jsp file is opening in visual studio..
Can you please help.
Sameee .. did you find how to use it
Yes.. Go to eclipse Market place
Add java web for sts.. By eclipse
Eclipse Enterprise Java and Web Developer Tools 3.21
Eclipse Web developer tools 3.21
@@amitkumar-uz3zfI need to install both?
hi durgesh, how you have configured JSP in Spring tool suit, you have abstracted that, can you please en-light on it
Sir for creating a webpage page ,I'm not getting the option of jsp, how to slove it? I have create webaap -> views .
hey did you get the solution of it ?
Great explanation as always 👍
Thanks you, very helpful
Please remove version of jasper dependency if you are not getting proper output
Thanks Brother!
Loved this video but now, I want to add static contents like css, images and js files to the project. How and where to place them?
Hello Durgesh sir. I have installed web packages still while creating the jsp file the web folder is not present. Is there anything missing in the folder? Kindly help.
though u explained n amazing way everytime i try to run using u r procedure it has one or the other problrm but when i try to follow some other video it runs fine again i really dont know why
I am using vs code does i have to write this .jsp starting structure code by myself?
Yes rishabh you will have to write is by yourself.
Spring STS JSP Page not showing in wizrd Box
sir help me mere sts me jsp file ka option nahi aa raha hai
How to get browser page I'm getting output in console but browser page not having
For whom it's not working use this in pom.xml
org.apache.tomcat.embed
tomcat-embed-jasper
9.0.44
provided
org.springframework.boot
spring-boot-starter-tomcat
2.4.4
provided
Everything is perfect ..still my project is not working...how many times i change the port.also it show white space error
Thank you sir.
thank you so much sir.........
Every time I am getting error that this port already in use so have to restart STS to make it run. Do we have any other way apart from this or setting up in application.properties file the port number?
Very helpful video
Sir pahle hum log dao interface banate the project ke lia lekin ab ke project me kese karte hai koi dusra tarika hai ya pahle wal hi ise karna hai.... Plz help
when i create Spring boot project in my machine, and i added spring web dependeccy , but am not able to create jsp files , pls help me sir
same problem
🙏 In MY spring boot project, in the jsp page,
When JSP was not rendering...add tomcat-embed-jasper dependency ..whose version is same as tomcat - embed version in maven dependencies
thank you
Thank you
Thanks a lot!
Still not working.. what to do?
@@manishamandal9155for me also not working did you figure out the solution?
sir i have added embeded jhasper repository 9.0.37 it gives error. after that i had change version project is error free but still downloading file on web page.
remove version to fix that errorr
@@vrijeshpatel2394 Then which version should i use..?
@Shubhangi I am facing the same issue! Did u get any solution? I changed the version to 9.0.44 and the error was fixed. Now I am getting a new error. “Whitelabel Error page”.
@@shubhangibhawari2805 Remove the line with version and then run it that should fix it
@@aaravchandra3082 white label is not a error
Thank you sir.. for spring boot.
In Eclipse Ide I am unable to create jsp file and ee devloper also not available in marketplace plzzz help
sir , jsp and html file not showing in sts .please sir tell how it will work
I can't found jsp pages in views ?
how to resolve that
When I write return home it returns string
Sir how i change the java version 17 to java 11 in sts 4.21.1
It supports only jdk 17 and later versions
Hello Sir, I had created project jsut same you created in video but in my project the sysout is printing on console but jsp page is not loading on browser. What will be possibile mistakes i had done or things missing in my project , as neither jsp is dispaying for "/" nor "/contact".
Any solution
?
Thank you Sir ji.
if download is still happening , try to remove version tag line from dependency 9.0.3 and then update project , by right clicking project and then maven > update project .
also try to clean project , top tab project > clean and relaunch project and you are good to go
Still happening
Hi Sir I have started watching your series in 2023, I am not able to get jsp in other folder. What should I do to create jsp file in views folder?
Yes ..
@@LearnCodeWithDurgesh Hi Sir what is the resolution for this?
@@LearnCodeWithDurgesh abe bsdk woo puchra hai ki jsp kese bnaaye becuase there is no option of jsp file in select the wizard . Madarcho* yes kya bolra hai
for those who are facing issue of jsp page downloading despite adding dependency, try the following:
1) Make sure that u have selected the correct pom.xml. because i accidently opened the other pom.xml file and was doing changes in it for hours. so don't do the same mistake as i did, crosscheck now!
2) remove the version tag from the dependency, then update the project it from right clicking on examplesecurity -> mave -> update project,
then clean the project by going to Project -> clean,
then refresh by right clicking on examplesecurity -> refresh
3)copy your URL and paste it in incognito mode
4) if nothing works, try relaunching STS after u have done all the stuff above and open in incognito
bhai in my case even after adding dependencies it keeps on downloading
remove version tag and also remove scop tag if you have added any
amazing explained
Sir when I create views folder n then New for the jsp file, in my STS no web folder is coming in which HTML,jsp should be present
Exactly same for me
@@nidhirani1803 same for me ...,,, ise kaise kare batao na
@@nitugiri4380 you need to go to eclipse marketplace and then download eclipse for web developers in sts to get the option to add jsp
@@nidhirani1803 🥳 thanks a lot , now it's resolve my issue , thanks
@@nidhirani1803 I did it but not working
hello sir I am still getting the error of downloaded files when I fire "localhost:8080:/" on url please resolve my issue
JSP file is not compiling after adding the dependency
to sir jab sts use kar rhe ho to kyo vs code install karwaya aur usme time jaya karwaya .Jab sab me ak hi kaam hai karna to bs features alag hai IDE ke .
alag se video bna dete uska isme kyo include kar diya.
Same thing i do in VS Code but my file get download why ?
Sir please help me not showing jsp file while going for creating
How to resolve 'Whitelabel Error Page' error?
dont fire project name, just fire ur url for ex localhost:808/home
Great! Your content answers my every questions!!! Thanks
hame same chiz vscode mai bhi krni hai?
Hello Sir, JSTL kaise use karein spring boot app mein. Error aaraha hai
Thanks
Video: "JSP View in Spring Boot in 2 steps | Spring Boot Tutorial "
Problem: How to configure JSTL in SpringBoot
Your Comment:
Hi Durgesh, thanks for amazing video! I'm encountering an issue where JSTL (JavaServer Pages Standard Tag Library) doesn't seem to be functioning correctly within my Spring Boot application. Can you provide some insights or troubleshooting guidance?! Urgent Please. !Every one please Like !a comment Durgesh sir k pas chali jaye.
JSP file ka extension ni show raha hai jab file create karne ja rahe hai to .plz help
can views be a html or javacript file instead of jsp?
vai jsp page upload nahi ho raha hai ,whitelable page error dikha raha hai.please reply.
sir it's showing error jab start kar raha hun server ko .. a child container failed aaraha hai
If i am creating jsp file. It is opening in vscode.
thanku sir
how to use jsp file with intellij idea IDE......Please anyone suggest🖐🖐🖐🖐
They are not providing option to create JSP file
How to fill all input fields automatically from database by entering input in one textbox using spring boot ?
Sir i am facing trouble while running this program please help me
It is not working I Cross check japser dependency and as well request mapping too only string name like return "index" comes at my local host:8080/index I try every possible solution still not worked both in eclipse as well as STS environment please guide me
For whom it's not working use this in pom.xml
org.apache.tomcat.embed
tomcat-embed-jasper
9.0.44
provided
org.springframework.boot
spring-boot-starter-tomcat
2.4.4
provided
Bro mereko ek baat samajh me nahi aa raha..aap spring playlist me vdo daal rahe ho aauur isme v..kya spring playlist me auur v videos aane wale hein?if yes then kya kya topics baki hay..???
Kuch topics jo imp hai cover karnege bhai...
@@LearnCodeWithDurgesh kya aap aop rest security cover karoge.??as this is the best spring playlist on RUclips me chahta hun ki isme sab topics cover ho😍😍
Hn
wonderful
Dependency lagane k bad bhi wo page download ho raha hai please help
remove version tag and also remove scope tag if you have added any
amazing brother
Excellent work bhai, ur tutorials are very useful
Sir jaha Apne webapp Ka folder banya hai waha java Ka folder kyu nii aa Raha hai
Mere project Mai bhi nii aa Raha hai par jab hamara teacher padha Raha thaa Uske Mai show ho Raha thaa
durgesh bro I changed the port but also my output is not coming
I did all the steps but still getting 404 whitelable error
Instead of getting view page i am getting view name any solution?
remove @ResponseBody or Use @Controller annotation instead of @RestController
Did you got the solution for it ?
@@learnin....4494 thanks bro its worked for me
superbbb
sir jsp file option missing how to resolve it ??
Same problem how to solve it please help me 🙏
Views are not in spring boot, getting white label error
bestt
Sir / karke entert karne par reload karne par output nahi ho raha show same vahi file download kar de raha hai
Isme dependency bhi add kardi hai Jasper ki
Please use the latest version of Eclipse Compiler dependency from Maven Repository if any issue faced
Edit:- I was also facing the same issue...the tomcat embed jasper dependency was not working and was also facing above error.
same here
Just Remove the version of Tomcat Embed Jasper dependency
@@himanshukumarnayak988 thanks brother
@@himanshukumarnayak988 bsdk ye to bata deta kese remove karte ha mc hamesa adha adhura jawabc
Handler mapping nahi hai kya?