Ah, I think I see.  Something like this?

  | import javax.faces.context.FacesContext;
  | import javax.servlet.ServletContext;
  | 
  | FacesContext facesContext = FacesContext.getCurrentInstance();
  | ServletContext servletContext = (ServletContext) 
facesContext.getExternalContext().getContext();
  | String docBase=servletContext.getRealPath(".");
  | 

Thanks, Gavin.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3999560#3999560

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999560
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to