• May 21, 2022

How To Return File Download In JAX-RS Application

When developing JAX-RS applications, most of the time, you return JSON to the client. However, there are times you need to return file download. For example, your client may require that when an user access a certain URL, the application must prompt a save file dialog. If you have trouble with this requirement, look no…

Read More

Create Quarkus Project Under 5 Minutes With Live Reloading

Creating Quarkus project is quite simple. You can get started in just a few minutes. In this post, I’m going to show you how you can do that. My assumption is you have maven installed. If you don’t, please follow the guide to install it here. After you have maven installed, it very easy to…

Read More

How To Fix CORS AJAX In Chrome Extension

Recently I return to work on my extension that allow people to save pages to a remote site and also highlight and comment on the page they save (sounds cool?). When saving a particular page to my server (using fetch/jQuery post), I got this error message: The error reads like this: What the extension tried…

Read More