?
Solved

general jsp question - easy

Posted on 2004-04-25
5
Medium Priority
?
170 Views
Last Modified: 2010-04-01
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");
0
Comment
Question by:monitorscreen
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 53

Expert Comment

by:Ryan Chong
ID: 10913275
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
 

Author Comment

by:monitorscreen
ID: 10913516

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
 
LVL 35

Expert Comment

by:TimYates
ID: 10916080
ryancys is right
0
 
LVL 53

Accepted Solution

by:
Ryan Chong earned 140 total points
ID: 10916188
>>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
 

Author Comment

by:monitorscreen
ID: 10919748

Thanks :)
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In the absence of a fully-fledged GPO Management product like AGPM, the script in this article will provide you with a simple way to watch the domain (or a select OU) for GPOs changes and automatically take backups when policies are added, removed o…
This month, Experts Exchange’s free Course of the Month is focused on CompTIA IT Fundamentals.
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
Suggested Courses
Course of the Month9 days, 19 hours left to enroll

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question