Re: JFor in a servlet

Bertrand Delacretaz <[email protected]> Mon, 23 Sep 2002 12:25:07 +0200
Newsgroups gmane.text.xml.jfor.general
Organization codeconsult
Message-ID <[email protected]>
On Monday 23 September 2002 12:20, [email protected] wrote:
>. . .
> The problem i am facing is the inputfile ie... fo file , its
> neither taking relative path nor any other path. 
>. . .

I *think* tomcat enforces security restrictions on file access, which might 
prevent you from getting absolute filenames. You should have a look in the 
tomcat docs/maling lists regarding how tomcat handles getRealPath() and 
related methods.

-Bertrand


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf