`
hunaifei2008
  • 浏览: 26711 次
  • 性别: Icon_minigender_1
  • 来自: 烟台
社区版块
存档分类
最新评论

MyEclipse中将普通项目转换为web项目

阅读更多

起因:网上下了一个smarty4j的开源项目,在myEclipse中部署到tomact时找不到项目
解决:将项目转换为web项目后部署
解决方案: 右键点击该项目,选择myeclipse---> Add Web project Capabilities (添加web项目)

分享到:
评论
2 楼 hunaifei2008 2014-07-22  
andesya 写道
你好,可以发下使用的smarty4j的项目吗?现在smarty4j的资源很难找。还有个问题请教,在php中smarty可以指定cache的目录及缓存时间,在smarty4j中在template类只找到template.preventAllCache()和template.preventCacheVariable(name)这两个和cache相关的方法,想请教如何在java中指定cache目录及缓存时间,多谢~

  smarty4j当时只是公司开发框架时借鉴了一下,后期项目夭折,也没有太多研究,确实这个资源比较少,而且已经停止更新好久了,项目运行的话,还是换一些其他的吧,资料太少,调查研究的时间太长。
1 楼 andesya 2014-07-04  
你好,可以发下使用的smarty4j的项目吗?现在smarty4j的资源很难找。还有个问题请教,在php中smarty可以指定cache的目录及缓存时间,在smarty4j中在template类只找到template.preventAllCache()和template.preventCacheVariable(name)这两个和cache相关的方法,想请教如何在java中指定cache目录及缓存时间,多谢~

相关推荐

Global site tag (gtag.js) - Google Analytics