general jsp question - easy

Im creating a new file on my machine when a user clicks on a button with the command below. Ive just tested this on my own computer, if someone uses my web app from another machine will the command still work (will the file still be created on my computer)?

File File = new File ("\\Files");
monitorscreenAsked:
Who is Participating?
 
Ryan ChongConnect With a Mentor Commented:
>>Im running tomcat on windows xp.
>>Im creating the file on my computers hard drive.
>>Is this still ok?

If the code is running well it means ok for me, but always remember what i mentioned above. cheers
0
 
Ryan ChongCommented:
The JSP scripts are Running on your Server, Not at your Local Pc, so No matter where you run the script, the File will Still be created at Server, not at Local Pc.
0
 
monitorscreenAuthor Commented:

ok, i just want to be sure on this because I cant test it for many weeks.

Im running tomcat on windows xp.
Im creating the file on my computers hard drive.

Is this still ok?
0
 
TimYatesCommented:
ryancys is right
0
 
monitorscreenAuthor Commented:

Thanks :)
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.