To transfer a file from a Java servlet to a client, you must retrieve that file as InputStream and send it in the response that the server will give to the client's request. In this case, it would be done as follows:
try {
// Consigue el InputStream del archivo. Hay múltiples maneras de hacerlo, utiliza la que mejor te convenga.
InputStream is = ...;
// Copia el inputStream en la respuesta que dará el cliente al servidor. "response" es de tipo HttpServletResponse.
org.apache.commons.io.IOUtils.copy(is, response.getOutputStream());
response.flushBuffer();
} catch (IOException ex) {
throw new RuntimeException("Error escribiendo en la respuesta del servidor.");
}
In this way, the client (in this case, the browser) will download the recovered file on the server, that is, the PDF. If instead of being downloaded, you want it to be displayed on the page, you should use the HTML element called iframe in the jsp. A possible example would be this:
<iframe src="url que apunta al servlet del archivo"></iframe>
In this way, the PDF will be displayed in the iframe container on your page.
More information about the iframe: link