建了一个flex+j2ee的项目,是在MyEclipse用flex插件建立的。设置了Output floder为如下:
E:\SERVER\apache-tomcat-6.0.26\webapps\flexj2ee\flexj2ee-debug
然后运行项目时url为:http://localhost:8080/flexdxerp/flexj2ee-debug,项目运行时是没有问题的。
因为在项目里面用到Httpservice,里面的url要根据根目录来设置,
即是****/flexj2ee/***,而不是****/flexj2ee/flexj2ee-debug/***,
[color=blue]所以现在我想设置成运行时的url为:http://localhost:8080/flexdxerp[/color]
将Output folder设置为 E:\SERVER\apache-tomcat-6.0.26\webapps\flexj2ee 是不行的,有没有办法搞定的?
当然可以啦。。
output folder=E:\SERVER\apache-tomcat-6.0.26\webapps\flexdxerp
output folder url=http://localhost:8080/flexdxerp
这样就行了
Output folder设置为 E:\SERVER\apache-tomcat-6.0.26\webapps\flexj2ee
为啥不行?
我都是直接设置成应用路径的