re!
je pense que j'ai compris pourquoi la page jsp n'a pas pu afficher l'image
jeter un coup d'oeil sur ce lien http://stackoverflow.com/questions/1...et-to-jsp-page
j'ai compris alors que le content type de la jsp doit etre "image/png" et non pas "text/html"You can't1 return both in the same response, since you're returning different types (an HTML page of type text/html and an image of type image/jpeg, say).
d'ou l'entete de ma page jsp sera:
l'appel de la jsp fonctionne nickel en local mais dans l'autre machine ne fonctionne pas
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3 <%@page contentType="image/png" pageEncoding="UTF-8"%> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
Partager