Solved

general jsp question - easy

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

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 51

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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Apache server configuration 7 92
project group option in netbeans equivalent term in eclipse 1 52
Set up Wildfly 10 8 444
maven webservice example issue 2 156
In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
Azure Functions is a solution for easily running small pieces of code, or "functions," in the cloud. This article shows how to create one of these functions to write directly to Azure Table Storage.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the adminiā€¦

763 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