[JBoss-user] [Beginners Corner] - Re: Loading an imagem from a war file

2004-08-10 Thread Zuvirandu
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

[JBoss-user] [Beginners Corner] - Loading an imagem from a war file

2004-08-10 Thread Zuvirandu
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

[JBoss-user] [Installation & Configuration] - Re: Custome Configuration Error

2004-07-01 Thread Zuvirandu
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