Hi,

 

I am using Tapestry 5 for my application. I want to upload an excel file
to the Tomcat server. On HTML, I am using the <input t:type="upload"
t:id="strategyFile" /> and on java file, I written as:

 

File stratFile = new File("c:/temp/"+strategyFile.getFileName());

strategyFile.write(stratFile);

 

But, I cannot exactly find the file on my server. Am I missing something
to get the file uploaded to my server? Please explain...

 

Thanks and Regards

Yeeswara N

************************************************************************
****

This mail is transmitted to you on behalf of HCL Technologies.

Diese Post wird Ihnen im Namen der HCL Technologies ubermittelt

************************************************************************
****

 



DISCLAIMER:
-----------------------------------------------------------------------------------------------------------------------

The contents of this e-mail and any attachment(s) are confidential and intended 
for the named recipient(s) only.
It shall not attach any liability on the originator or HCL or its affiliates. 
Any views or opinions presented in 
this email are solely those of the author and may not necessarily reflect the 
opinions of HCL or its affiliates.
Any form of reproduction, dissemination, copying, disclosure, modification, 
distribution and / or publication of 
this message without the prior written consent of the author of this e-mail is 
strictly prohibited. If you have 
received this email in error please delete it and notify the sender 
immediately. Before opening any mail and 
attachments please check them for viruses and defect.

-----------------------------------------------------------------------------------------------------------------------

Reply via email to