JasperReports Server is a stand-alone and embeddable reporting server. In this tutorial we will see how connect JaspersoftStudio to JasperReports Server and how to upload and download a report from the server. Since we need to interact with JasperReports Server we need an URL to it and we need the credential to access it. Anyway if you doesn't have one of this you can do a local installation of JasperReports Server. To do this, follow THIS link and download the correct version for your operative system, and then install it following the on screen instructions.
To have an easy replicable example lets suppose that we are using a local installation of JasperReports Server. To check if our server is running open your browser and copy in the address bar this URL:
http://localhost:8080/jasperserver/login.html
You should see a window like this:
If it is all working, start Jaspersoft Studio, go into the "Repository Explorer" tab and hit the button "Create a JasperReports Server Connection":
A dialog to insert the data of the server will appear, fill it as follow:
Then hit the test button to test the connection and it is all working hit the "Finish" button.
At this point you are connected to the server and you can upload and download reports.