aspose file tools
The moose likes Java in General and the fly likes How the file generated in a path location Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Java in General
Reply Bookmark "How the file generated in a path location" Watch "How the file generated in a path location" New topic
Author

How the file generated in a path location

sumanta panda
Ranch Hand

Joined: Jun 23, 2008
Posts: 224


Hi All,



This functionality will create a debug file .Suppose if my application is in the c:\einvoice then the debug file automattically generated and save default project path i.e in the c:\einvoice.

What is the above code i need to change so that the debug file will save in the folder like c:\einvoice\debug.

Please suggest.

Thanks and Regards,
Sumanta Panda
John de Michele
Rancher

Joined: Mar 09, 2009
Posts: 600
Sumanta:

Did you try doing a Google search or looking in the javadocs?

John.
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19216

Check out the multiple File constructors. A few of them allow you to specify the parent, which is the folder in which a file or folder is located.


SCJP 1.4 - SCJP 6 - SCWCD 5
How To Ask Questions How To Answer Questions
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: How the file generated in a path location
 
Similar Threads
Trouble with running Maven Tomcat plugin through Eclipse
Saving a file to a relative path
Servlet action is not available
Image Display problem
Could not resolve dependencies for maven project