[opencms-dev] Uploading a file in OpenCms
srinivas voleti
srini_2105 at hotmail.com
Tue Oct 28 16:06:00 CET 2003
Hi All,
Iam trying to upload a file programatically using the cmsObject method
uploadFile(String lokalfile, String folder, String filename, String
type)
but I'm getting the following error
An error occurred at line: -1 in the jsp file: null
Generated servlet error:
[javac] Since fork is true, ignoring compiler setting.
[javac] Compiling 1 source file
[javac] Since fork is true, ignoring compiler setting.
[javac]
C:\tomcat\jakarta-tomcat-4.1.24\work\Standalone\196.12.47.57\opencms\WEB-INF\jsp\offline\UploadFile_jsp_jsp.java:98:
cannot resolve symbol
[javac] symbol : method uploadFile
(java.lang.String,java.lang.String,java.lang.String,java.lang.String)
[javac] location: class com.opencms.file.CmsObject
[javac] cmsObject.uploadFile("c:/Samp.html",
"/TRXDOCS/SriniTestHierarchy/", "uploadf", ".html");
[javac] ^
[javac] 1 error
Any parameter is missing.
Thanks,
Srini.
_________________________________________________________________
Are you a Citibank RCA member? Want to fly free to India?
http://server1.msn.co.in/sp03/diwali/rca/memberrca.asp Here is how you can!
More information about the opencms-dev
mailing list