Hi Howard,
Thanks, it works, here is my code, one problem is,
generates following code without the closing tag, any way to fix this?
< img src="/av?fid=123456.jpg">
public class MyImg {
@Inject
@Service("RequestGlobals")
private RequestGlobals requestGlobals;
@Parameter(r
Since it starts with a leading slash, it will always be
http://localhost:8080/av.
That assumes your app is deployed as the root web application.
The only time it would break is if your app was not deployed as the root web
application, as might happen if your servlet container is deploying multipl
Hi,
I have a servlet used with my T5 app, its job is to return an image from
file system, the url-pattern is:
/av
in the template I have to refer it as:
< img src="http://localhost:8080/av?fid=mypic.jpg"; / >
this works, but if I deploy it, i have to update the server name, if I just
use "/av?fid