Solved

general jsp question - easy

Posted on 2004-04-25
5
160 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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Is your company's data protection keeping pace with virtualization? Here are 7 dynamic ways to adapt to rapid breakthroughs in technology.
Find out what the Office 365 disclaimer function is, why you would use it and its limited ability to create Office 365 signatures.
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

747 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

13 Experts available now in Live!

Get 1:1 Help Now