Hi, all...
I did it!
In a servlet I put:
| public void init() throws ServletException {
| String path = null;
| path = this.getServletContext().getRealPath("/image/");
| Tools.IMAGEM_URL = "file:/" + path + "/";
| super.init();
| }
|
Thank
Hi all!
I need to render an image to put in a report and the image is in the war file.
The structure:
app.ear
> web.war
-> /img/image.gif
How can I know the path to access the file?
Greeting,
Zuvirandu
View the original post :
http://www.jbo
I was in trouble with this too...
But, I saw that the class
org.jboss.ejb.plugins.EntitySessionInstanceCache
is the wrong class... this class donÂt exists in JBoss lib...
try the
org.jboss.ejb.plugins.EntityInstanceCache
end be happy! :D
Best Regards,
Leandro Dantas
View the original post