AnsweredAssumed Answered

File Upload[Solved]

Question asked by carolanna on Apr 6, 2011
Latest reply on Oct 24, 2014 by camachompi
   i want to create a java api where i will be able to upload files.
   i got this link in alfresco wiki
   in the file upload.get.html.ftl
   am not able to understand where i need to declare or define these url.context,server.edition etc.

   <title>Upload Web Script Sample</title>
   <link rel="stylesheet" href="${url.context}/css/main.css" TYPE="text/css">
       <td><img src="${url.context}/images/logo/AlfrescoLogo32.png" alt="Alfresco" /></td>
       <td><nobr>Upload Web Script Sample</nobr></td>
     <tr><td><td>Alfresco ${server.edition} v${server.version}
     <form action="${url.service}" method="post" enctype="multipart/form-data" accept-charset="utf-8">
       <tr><td>File:<td><input type="file" name="file">
       <tr><td>Title:<td><input name="title">
       <tr><td>Description:<td><input name="desc">
       <tr><td><td><input type="submit" name="submit" value="Upload">

where should i store these above files in my project using ecplise IDE