JSP View in Spring Boot in 2 steps | Spring Boot Tutorial in Hindi
Vložit
- čas přidán 9. 08. 2020
- 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: learncodewithdurgesh.com/cour...
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/learncodewithdurgesh
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 - CZcams 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): learncodewithdurgesh.com/
👉Telegram Discussion Group: t.me/learncodewithdurgesh
👉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.
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..
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
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.
Aapne Spring seekhna ekdum aasan kar diya hai
Thank you so much ..its very helpful ..God bless u buddy
Great explanation as always 👍
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
Thank you very much Sir..it's very useful for me.😄😄😄
Great job sir.
Thanks you, very helpful
amazing brother
sir I am not getting option to create jsp file
Same pls help😢
I struggled allot for jsp in sb, you solved it thanks
how you resolved it i am getting same errror
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
amazing explained
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?
Thank you sir.
thank you so much sir.........
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
Very helpful video
Great! Your content answers my every questions!!! Thanks
wonderful
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
superbbb
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
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
Excellent work bhai, ur tutorials are very useful
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
even after removing the jasper version , the jsp file gets downloaded everytime i access the jsp page, what to do now?
🙏 In MY spring boot project, in the jsp page,
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?
Thanks
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
thanku sir
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.
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
can views be a html or javacript file instead of jsp?
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
jsp file option is missing in wizard how to resolve it
Please remove version of jasper dependency if you are not getting proper output
Thanks Brother!
How to fill all input fields automatically from database by entering input in one textbox using spring boot ?
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.
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?
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.
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 how i change the java version 17 to java 11 in sts 4.21.1
It supports only jdk 17 and later versions
bestt
If i am creating jsp file. It is opening in vscode.
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 ?
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
hello sir I am still getting the error of downloaded files when I fire "localhost:8080:/" on url please resolve my issue
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
?
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
hi durgesh, how you have configured JSP in Spring tool suit, you have abstracted that, can you please en-light on it
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?
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
Go to eclipse Market Place and download.
Eclipse java EE developer tools
@@ashoknation_ Worked for me.Thank you so much!!!
@@ashoknation_ Thank u so much my problem get resolved
@@shraddhakarle2627 how to resolve your problem? Please tell me
@@nishupatil1068 If u got the solution plz tell me
Thank you Sir ji.
sir , jsp and html file not showing in sts .please sir tell how it will work
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
Sir i am facing trouble while running this program please help me
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?
How to resolve 'Whitelabel Error Page' error?
dont fire project name, just fire ur url for ex localhost:808/home
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
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.
Sir please help me not showing jsp file while going for creating
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
Spring STS JSP Page not showing in wizrd Box
durgesh bro I changed the port but also my output is not coming
When I write return home it returns string
sir help me mere sts me jsp file ka option nahi aa raha hai
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
I can't found jsp pages in views ?
how to resolve that
How to write JSP files in vs code there is no snippet for that.
Durgesh.. even after putting the jasper dependency my project is not able to reload with error.[Failed to start component [StandardEngine[Tomcat].StandardHost[localhost].TomcatEmbeddedContext[]]]
got the same error. I have removed the version in jasper dependency and it is working
org.apache.tomcat.embed
tomcat-embed-jasper
@@thahirshaik1008 thank you a lot I spend my lot of time to fix this error
@@thahirshaik1008 thanks thanksssss ✨🌟💜❤️
@@thahirshaik1008 Thanks thahir
@@thahirshaik1008 Thank You buddy ..
if I create a jsp file directly in webapp folder, its working..but when I put in folder "views" it doesn't work even after prefix and suffix in application.properties..............anyone can help???
same for me,
Not working for me either way, any solution
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.
thank you sir
views folder banane ke bad nai chalta hai ,jsp pages ko webapp me rakhne pe chalta hai
aur jab / fire krta hu to contact.jsp lgana pdta hai to nai chlta hai
Views are not in spring boot, getting white label error
JSP file is not compiling after adding the dependency
Hi Durgesh ,I am Veerendra. KIndly please make a vdo for aws and web services .I like your all vdo
hame same chiz vscode mai bhi krni hai?
spring boot par projact make karo
sir jsp file option missing how to resolve it ??
Same problem how to solve it please help me 🙏
sir it's showing error jab start kar raha hun server ko .. a child container failed aaraha hai
Hello Sir, JSTL kaise use karein spring boot app mein. Error aaraha hai
Hello Friends I have share a common problem after create an application in Spring STS Jsp page not showing which i shown in the video how to enable
the option and work perfectly in SPRING STS
czcams.com/video/8dy4iCGfa1c/video.html
thanks bro❤
Same thing i do in VS Code but my file get download why ?
how to use jsp file with intellij idea IDE......Please anyone suggest🖐🖐🖐🖐
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
Handler mapping nahi hai kya?
JSP file ka extension ni show raha hai jab file create karne ja rahe hai to .plz help
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
Spring Boot Application.properties has no autocomplete suggestions
Even after following the whole process why i am getting the white label error
How you solved the problem
Sir please upload react js / angular after completion of boot ♥️♥️♥️♥️♥️♥️
Yes