已锁定 主题:用Ext编写的远程文件管理
精华帖 (0) :: 良好帖 (0) :: 新手帖 (0) :: 隐藏帖 (0)
|
|
---|---|
作者 | 正文 |
发表时间:2007-08-14
功能描述作为CMS系统的基础组件,远程文件管理实现了B/S方式的对远程文件夹的管理,包括:
特点集成了Ext的主题支持多国语言 如何部署附件为eclipse工程,包含ant\文件,由于附件大小的限制,我没有上传以下文件ext :请下载ext1.1并展开重命名覆盖附件中的ext目录 commons-io-1.2.jar (commons-fileupload-1.2.jar所需要) spring.jar ,hibernate3.jar 请自行下载并放到WebContent\WEB-INF\lib 远程路径设置我设置了两个远程目录,位于WebContent\bat\rp\rp.js 的497,498行js 代码
访问完成上述工作后访问http://localhost:8080/rp/bat/rp/rp.html就可以看到主界面了 祝你顺利! 声明文件类型图标采用了www.vonloesch.de/jspbrowser.html声明:ITeye文章版权属于作者,受法律保护。没有作者书面许可不得转载。
推荐链接
|
|
返回顶楼 | |
发表时间:2007-08-14
呵呵 那么巧~我也在做这方面的东东:
A windows explorer-like project:WSN It's a nice that you can make windows-like app. on web page with Ext. Ext is pretty good at doing that. The other challenge is Application Design,including how to use CSS to make visual elements. 【Update】 online demo URL:http://ly999.net/wsh |
|
返回顶楼 | |
发表时间:2007-08-16
楼主,你好像少了SQL哦。
|
|
返回顶楼 | |
发表时间:2007-08-16
确实忘了,不过如果只是运行远程文件管理,并不需要SQL,
在mysql中建一个空数据库就可以,然后修改web-inf/jdbc.properties中的设置 |
|
返回顶楼 | |
发表时间:2007-08-16
我跑起来以后,发现页面
http://localhost:8080/bat/rp/rp.html 页面正中只有一个Loading,一直在显示 然后就没有反映了。 |
|
返回顶楼 | |
发表时间:2007-08-17
应该是js已经出错了,
1.看看后台有没有报异常 2.在firefox的错误控制台,看看前台具体的出错提示 |
|
返回顶楼 | |
发表时间:2007-09-12
Buildfile: C:\TDdownload\eclipse\workspace\RP\build.xml
clean: [delete] Deleting directory C:\TDdownload\eclipse\workspace\RP\dist init: [mkdir] Created dir: C:\TDdownload\eclipse\workspace\RP\dist\classes [mkdir] Created dir: C:\TDdownload\eclipse\workspace\RP\dist\classes\bat [mkdir] Created dir: C:\TDdownload\eclipse\workspace\RP\dist\classes\rp [mkdir] Created dir: C:\TDdownload\eclipse\workspace\RP\dist\classes\hbm compile: [javac] Compiling 23 source files to C:\TDdownload\eclipse\workspace\RP\dist\classes\bat [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. [javac] Compiling 9 source files to C:\TDdownload\eclipse\workspace\RP\dist\classes\rp [javac] C:\TDdownload\eclipse\workspace\RP\src\rp\cm\rp\template\SummeryUtil.java:11: package net.bat.util does not exist [javac] import net.bat.util.*; [javac] ^ [javac] C:\TDdownload\eclipse\workspace\RP\src\rp\cm\rp\template\jspToHtml.java:5: package net.bat.fb does not exist [javac] import net.bat.fb.FileWrapper; [javac] ^ [javac] C:\TDdownload\eclipse\workspace\RP\src\rp\cm\rp\url\UrlParser.java:13: package net.bat.util does not exist [javac] import net.bat.util.Global; [javac] ^ [javac] C:\TDdownload\eclipse\workspace\RP\src\rp\cm\rp\url\chanelAct.java:10: package cm.rp.util does not exist [javac] import cm.rp.util.*; [javac] ^ [javac] C:\TDdownload\eclipse\workspace\RP\src\rp\cm\rp\template\SummeryUtil.java:20: cannot find symbol [javac] symbol : variable Global [javac] location: class cm.rp.template.SummeryUtil [javac] static String TPPath=Global.getInitParameter(TP_PATH); [javac] ^ [javac] C:\TDdownload\eclipse\workspace\RP\src\rp\cm\rp\template\SummeryUtil.java:45: cannot access org.apache.xerces.parsers.DOMParser [javac] file org\apache\xerces\parsers\DOMParser.class not found [javac] DOMParser parser = new DOMParser(); [javac] ^ [javac] C:\TDdownload\eclipse\workspace\RP\src\rp\cm\rp\template\SummeryUtil.java:47: cannot find symbol [javac] symbol : method parse(java.lang.String) [javac] location: class org.cyberneko.html.parsers.DOMParser [javac] parser.parse(TPPath+path); [javac] ^ [javac] C:\TDdownload\eclipse\workspace\RP\src\rp\cm\rp\template\SummeryUtil.java:48: cannot find symbol [javac] symbol : method getDocument() [javac] location: class org.cyberneko.html.parsers.DOMParser [javac] Document doc=parser.getDocument(); [javac] ^ [javac] C:\TDdownload\eclipse\workspace\RP\src\rp\cm\rp\template\SummeryUtil.java:63: cannot find symbol [javac] symbol : method parse(java.lang.String) [javac] location: class org.cyberneko.html.parsers.DOMParser [javac] parser.parse(TPPath+path); [javac] ^ [javac] C:\TDdownload\eclipse\workspace\RP\src\rp\cm\rp\template\SummeryUtil.java:64: cannot find symbol [javac] symbol : method getDocument() [javac] location: class org.cyberneko.html.parsers.DOMParser [javac] Document doc=parser.getDocument(); [javac] ^ [javac] C:\TDdownload\eclipse\workspace\RP\src\rp\cm\rp\template\jspToHtml.java:44: cannot find symbol [javac] symbol : variable FileWrapper [javac] location: class cm.rp.template.jspToHtml [javac] FileWrapper.createFolders(fb, fc); [javac] ^ [javac] C:\TDdownload\eclipse\workspace\RP\src\rp\cm\rp\url\UrlParser.java:35: cannot find symbol [javac] symbol : variable Global [javac] location: class cm.rp.url.UrlParser [javac] WEBSERVER_ROOT=Global.getInitParameter(CONTEXT_WEBSERVER_ROOT); [javac] ^ [javac] Note: C:\TDdownload\eclipse\workspace\RP\src\rp\cm\rp\template\WrapperResponse.java uses or overrides a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] Note: C:\TDdownload\eclipse\workspace\RP\src\rp\cm\rp\rss\FeedServlet.java uses unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. [javac] 12 errors BUILD FAILED C:\TDdownload\eclipse\workspace\RP\build.xml:32: Compile failed; see the compiler error output for details. Total time: 4 seconds |
|
返回顶楼 | |
发表时间:2007-09-12
to xl801026:
ant报错的java文件均不是远程文件管理所需要的,你可以删除这些文件。 因为是从目前的一个半拉子项目摘出来的,没有摘干净,见谅。 |
|
返回顶楼 | |
发表时间:2007-09-22
想运行你的例子看看,不过没有创建数据库的DDL,麻烦贴上来嘛
|
|
返回顶楼 | |
发表时间:2007-09-22
运行起了LZ的例子,很不错啊,感谢你的无私的奉献精神
|
|
返回顶楼 | |