Javarevisited

Learn Java, Programming, Spring, Hibernate throw tutorials, examples, and interview questions

Thursday, December 28, 2023

How to sort ArrayList in Natural and Custom Order in Java - Example Tutorial

›
Sorting ArrayList in Java is a common task for Java developers and we have touched it while discussing in my last article  10 Examples of...
17 comments:
Sunday, December 17, 2023

How to enable Spring MVC in Java Web Application? Example Tutorial

›
In last article, I have shared thoughts on how to enable Spring Security on Java Web application, where my reader also shown interest to kn...
1 comment:
Monday, December 11, 2023

How to conditionally render view in JSP using Spring Security tag library? Example tutorial

›
One of the common requirement of secure Java application is to show and hide content based upon role of current user. For example, a logged...
Monday, December 4, 2023

How to get current logged in user in JSP and Controller using Spring Security? Example Tutorial

›
One of the common task while using Spring Security in a Java web application is getting the username of currently logged in user . Sometime...
Sunday, November 26, 2023

How Request mapping or HandlerMapping works in Spring MVC? @RequestMapping Example

›
Hello guys, In last a couple of articles, we have learned how Spring MVC framework works and what is the role of DispatcherServlet in Sprin...
Friday, November 24, 2023

4 Best Black Friday Cyber Monday Deals for Creators -Thinkific and Teachable Discounts Coupons [2023 UPDATED]

›
Hello guys, I have been advocating for programmers and developers to create online courses to both learn and earn in 2023 for quite some tim...
Thursday, November 23, 2023

Top 10 Black Friday + Cyber Monday Deals for Programmers - Best of Lot [2023 UPDATED]

›
Hello my programmers and developers friends, Black Friday and Cyber Monday 2023 are almost here and if you have been waiting for this period...
1 comment:
Monday, November 20, 2023

How to secure an URL using hasRole() in Spring Security? Is it enough to hide sections of JSP to protect URL? Example?

›
One of the Spring security question asked to me on a recent interview was about is it enough to hide portions of JSP to protect a URL from ...
Monday, November 13, 2023

How to show current logged in username in JSP using Spring Security? Example Tutorial

›
One of the common feature of secure Java web application to show the username as link on the top right corner of web application once user ...
Sunday, November 5, 2023

5 Ways to Update Values in ConcurrentHashMap in Java 8 - Example Tutorial

›
In last article, I have showed you how to update value in HashMap and today we'll learn about how to update value in a ConcurrentHashM...
Monday, October 30, 2023

Why Java and Spring Developers Should Learn RESTful Web Services and Microservices

›
More and More companies are adopting  Microservices architecture e.g. Uber and Netflix already uses it and many startups I know is choosin...
Monday, October 23, 2023

15 Example of print() and println() methods in Java

›
Hello guys, if you have learned Java in early 2000 then there is  good chance that you must have written your first Java code using System....
Tuesday, October 10, 2023

How to fix Eclipse - Could not reserve enough space for object heap in Java? Solution

›
If you are running Java program in Eclipse and ever tried playing with -Xmx parameter you know about those virtual machine initialization e...
Monday, October 9, 2023

How to fix java.net.SocketException: Connection reset by peer: socket write error? [Solved]

›
" Exception in thread "main" java.net.SocketException: Software caused connection abort: socket write error"  comes whe...
Friday, October 6, 2023

How does Remember Me functionality works in Spring Security?

›
In the last article, You have learned how to enable the remember-me functionality in Spring security and today you will learn how does Re...
‹
›
Home
View web version

Contributors

  • SimpleJava
  • javin paul
Powered by Blogger.