|
I'm using JSP with Java Web Server 2.0
Beta:
when the server side code is running (i.e. when you call a
method of a bean) the
current working dir is the Web Server Home Dir (in my case is
c:\JavaWebServer2.0\),
so, if you place yuor file Hello.txt in this dir, the
exception will not arises.
If you are using another Web
Server, you can discover wich is the working dir creating a file
(without specifing the path,
but only del file name, e.g. "Hello_2.txt") from the bean
code.
After the execution of the bean, you can find the file you created ("Hello_2.txt") in the
working dir of the bean.
bye, Paolo.
|
- Amazing Sachin S. Khanna
- Re: Amazing Robert McCarter
- Re: Amazing Paolo Miotti
- Re: Amazing Sachin S. Khanna
