Have you looked in the Tomcat logs? We can't help you without an error message.

-----Original Message-----
From: user20 <[email protected]>
Date: Mon, 15 Feb 2010 09:47:25 
To: Google Web Toolkit<[email protected]>
Subject: Re: file delete problem

There is no error message . the file is not deleted

On 15 Feb., 18:37, Paul Grenyer <[email protected]> wrote:
> Hi
>
> On Mon, Feb 15, 2010 at 5:35 PM, user20 <[email protected]> wrote:
> > I use the following code with RPC call  , with me lockal works
> > correctly but with tomcat 5.5 not
>
> > HttpServletRequest req = getThreadLocalRequest();
> >                String delpath =
> > req.getSession().getServletContext().getRealPath("/") + "job/";
> >                File f=new File(delpath+path);
> >                    if(f.exists()){
> >                    f.delete();
> >                    }
>
> What's the error message?
>
> --
> Thanks
> Paul
>
> Paul Grenyer
> e: [email protected]
> b: paulgrenyer.blogspot.com

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to