Maybe I did not explain my question correctly.
Actually, my application is to create a registered user login
interface. Registered user has photo stored in DB (uploaded when
registration ), and once user login successfully, his/her photo will
be retrieved from DB and displayed, so using the combination of form
submit and GWT is the only solution I have found, just wondering if
there are any other techniques can be used in this case, as this is my
fist GWT application.
I had tried to display image by using
<pre>Image img = new Image( “
google.com/intl/en_AL/images/
logo.gif” );</pre>
,which is working as expected.
Since my image is stored in ServletOutputStream,
I tried to use<pre>Image img = new Image (GWT.getHostPageBaseURL() +
"serviceexample/ImgRetrieve"); </pre>
But image is not displayed.