This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
We are using DFS(Documentum Foundation Services) calls for uploading the Documents to the Documentum Server (EMC product). Using Oracle ADF screens.
In service calls it was expecting file path as argument. In ADF we have one component <af:inputFile> I was not seen any method to get the file path. For that we are writing file into the temporary path. That temporary path we are passing argument. For small files it was very fast but large files it was causing big performance issue.
instead of going input fie ADF componet. i tried following ways.
1 java script:
<input name="optionalFile" type="file" id="sample"></input>
can you suggest me some solution how to get the file path. please dont suggest post ADF forum or Documentum forum
Joined: Nov 08, 2001
And, is the file path on the client really what you need or where the file is uploaded to the server?
Joined: Mar 10, 2011
Againe Thanks Eric & Bear.
In ADF file component I will get the InputStream that we are writing into temporary file in the Application Server
In Documentum Server to create any document i need to pass as Content class Object as parameter. i was not seen any method to pass inputstream directly. it looks path for the file.
public FileContent(String localpath,String format)
in this model it causing big big perfromence issue. Desktop->Application Server->Documentum Server instead of creating file in application server. if i know the path i can directly pass the path to my Service.