• Home
  • ANGULAR
  • JAVASCRIPT
  • ABOUT ME

Alex Arriaga

  • Home
  • ANGULAR
  • JAVASCRIPT
  • ABOUT ME
© 2025 Alex Arriaga

Tag: Spring

Enterprise Development Java EE

How to return different HttpStatus codes using Spring

Posted on July 11, 2014by alex-arriaga

Any Java Enterprise Application that manipulates responses will need to return status codes depending on the execution of the code. So, here is one of the easiest ways to return a status code without the classical numbers like 200, 404, 400, etc. // This method returns HttpStatus.OK (200) in case a wiki page exists, or…

Enterprise Development Java EE

How to use array of String as input parameters in a request for a Java application by using Spring annotations

Posted on July 11, 2014by alex-arriaga

Hello friend, today I am going to show you how to user a String[] array as an input parameter of a request. This is useful when you want to receive a series of values and then use them for any purpose. So, let’s get started. Imagine you are creating a controller to read all pages of a…