Re: Get the real path of application

2010-01-04 Thread Esdras Dzul Mijangos
¡Thank you very much! -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to

Re: Get the real path of application

2010-01-01 Thread Anoop John
You will get the real path from HttpServletRequest. Use request.getRealPath(/). This will work. On Dec 31 2009, 9:10 pm, Esdras Dzul Mijangos xdzu...@gmail.com wrote: Hi, i have a problem, i need get the path of application, for ejample, in jsf i can do it: FacesContext context =

Get the real path of application

2009-12-31 Thread Esdras Dzul Mijangos
Hi, i have a problem, i need get the path of application, for ejample, in jsf i can do it: FacesContext context = FacesContext.getCurrentInstance(); ServletContext servletcont = (ServletContext) context.getExternalContext().getContext(); public Class Classx{ public void someMethod(){