Learn how to quickly convert XML files to CSV using Java
Search Results for: getattr
Accessing Session Attributes in Thymeleaf
A quick and practical guide to accessing session attributes in Thymeleaf.
Reading a JSP Variable From JavaScript
Explore several approaches to accessing a JSP variable from JavaScript.
Uploading File Using Selenium Webdriver in Java
Learn how to upload files using Selenium WebDriver.
Retrieve the Value of an HTML Input in Selenium WebDriver
Learn how to set up a Selenium project and retrieve the value of an HTML input field from a web page.
Search Users With Keycloak in Java
Learn how to search for and manage users with Keycloak in Java.
Calling JMX MBean Method From a Shell Script
Learn how to access MBeans from a shell script.
Spring @EnableMethodSecurity Annotation
Learn the main features of @EnableMethodSecurity and how it replaces @EnableGlobalMethodSecurity.
Fixing Selenium WebDriver Executable Path Error
Understand what causes the Selenium error “The path to the driver executable must be set by the webdriver.chrome.driver system property” and learn how to fix it.
Map a JSON POST to Multiple Spring MVC Parameters
Learn how to deserialize a JSON POST into multiple strongly-typed parameters.
JavaScript Function Call with Thymeleaf
Learn how to call JavaScript functions in a Thymeleaf template.
Return Map from GraphQL
Learn three different techniques to return a Map object from a GraphQL query.
Check if a User Is Logged-in With Servlets and JSP
Learn how to use Servlets and JSPs to ensure a user is authenticated and has started a valid session before accessing any resources.
URL Rewriting With Spring Cloud Gateway
Explore different ways to rewrite URLs using the Spring Cloud Gateway library.
Testing LDAP Connections With Java
Learn how to test an LDAP server using a Java client
What Is OncePerRequestFilter?
Learn how to use the Spring OncePerRequestFilter to ensure your filter code is executed only once for each request.
CSRF With Stateless REST API
A quick investigation if stateless REST API can be vulnerable to CSRF attacks.
LDAP Authentication Using Pure Java
Learn how authentication works in built-in LDAP
HTML to PDF Using OpenPDF
Learn how to convert HTML to PDF in Java using OpenPDF and Flying Saucer or using the Open HTML to PDF library, with a little help from Jsoup.
Social Login with Spring Security in a Jersey Application
Learn how to protect a Spring Boot Jersey application with Spring Social login and OAuth2.