Re: How to Access the application Root path from the RemoteServiceServlet class..?

2009-09-18 Thread Raul
Where you are defining this function? inside a Servlet that extends RemoteServiceServlet or inside a servlet that simply extends HttpServlet..? I guess it will not work with a subclass of RemoteServiceServlet .!! On Sep 15, 10:59 pm, mdwarne wrote: > Hi, > > I access a report f

Re: How to Access the application Root path from the RemoteServiceServlet class..?

2009-09-15 Thread mdwarne
Hi, I access a report folder, and compile Jasper reports from a servlet... public String getReportPath() { return this.getServletContext().getRealPath("reports/src"); } Returns: /reports/src Mike On Sep 14, 12:11 am, Raul wrote: > Hello GWTians > > I am havi

How to Access the application Root path from the RemoteServiceServlet class..?

2009-09-14 Thread Raul
Hello GWTians I am having a trouble in accessing a local folder inside my application from the RemoteServiceServlet. At client side it is OK with GWT.getHostPageBaseURL()+"images" But i am not yet find a solution to access the same folder in my server code i.e. from a RemoteServiceServlet. I h