Solved

general jsp question - easy

Posted on 2004-04-25
5
162 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
  • 2
  • 2
5 Comments
 
LVL 49

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 49

Accepted Solution

by:
Ryan Chong earned 35 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
method inner class 6 81
tomcat users xml 7 104
Can't access image with tomcat/html 6 95
print map entry 34 54
What does UTC stand for?  “Coordinated Universal Time” – Think of this as the true time on Planet Earth that never changes with the exception of minor leap seconds here and there to account for the changes in the planet's rotation.   What does th…
There are many Password Managers (PM) out there to choose from. PM's can help with your password habits and routines, but they should not be a crutch you rely on too heavily. I also have an article for company/enterprise PM's.
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
A short film showing how OnPage and Connectwise integration works.

914 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now