Seasar-user:3991

イメージ表示

Servletを作成しなくても、OutputStreamに画像のバイト情報を出力すればよいので下記でいけるのでは。 <html xmlns:m="http://www.seasar.org/maya"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> <title>Image test</title> </head> <body> ImageTest<br/> <img m:src="#{test.image}" /> </body> </html>testコンポーネントには、getImag…