...
Code Block |
---|
the action could be as follows:
{code:java}
public class MyAction extends ActionSupport {
public String doDefault() {
return "myImageResult";
}
public byte[] getMyImageInBytes() { .... }
public String getMyContentType() { ... }
public String getMyContentDisposition() { ... }
public int getMyContentLength() { .... }
public int getMyBufferSize() { ... }
}
|
...