刚刚上传了一个 .war 文件到服务器..那里一切正常..但登录页面没有加载任何内容..我在新工作中获得了这个 flex+java 项目..这对我来说有点奇怪..我什至不能在它上面使用萤火虫..它在 Eclipse 控制台上什么都没有显示。请有人帮我一把!
登录页面mxml:
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" width="100%" height="100%" initialize="Spinner.init(this)" >
<mx:Style source="../flexdesign/css/Login.css"/>
<mx:Style source="../flexdesign/css/principal.css"/>
<mx:Style source="../flexdesign/css/conteudo.css"/>
<mx:Script>
<![CDATA[
import automacao.ui.Spinner;
import flash.net.navigateToURL;
import mx.controls.Alert;
public function abreMenu(url:String):void{
try {
navigateToURL(new URLRequest(url),"_parent");
} catch (e:Error) {
trace("Error occurred!");
}
}
]]>
</mx:Script>
<mx:Move id="cimabaixo" duration="1100" yFrom="0" yTo="0" xFrom="300" xTo="0"/>
<mx:Iris id="zoom" duration="300" xFrom="0" xTo="1" yFrom="0" yTo="1"/>
<mx:Zoom id="zoomhide" duration="500" zoomWidthFrom="1" zoomWidthTo="0" zoomHeightFrom="1" zoomHeightTo="0"/>
<mx:Glow id="brilho" duration="300" alphaFrom="0" alphaTo=".4" blurXFrom="0" blurXTo="20" blurYFrom="0" blurYTo="20" color="0xBBBBBB" strength="3"/>
<mx:Glow id="sembrilho" duration="500" alphaFrom=".6" alphaTo="0" blurXFrom="20" blurXTo="0" blurYFrom="20" blurYTo="0" color="0xBBBBBB" strength="3"/>
<mx:Glow id="brilhoradio" duration="200" alphaFrom="0" alphaTo=".4" blurXFrom="0" blurXTo="15" blurYFrom="0" blurYTo="15" color="0xBBBBBB" strength="2"/>
<mx:Glow id="sembrilhoradio" duration="200" alphaFrom=".3" alphaTo="0" blurXFrom="15" blurXTo="0" blurYFrom="15" blurYTo="0" color="0xBBBBBB" strength="2"/>
<mx:Fade id="fadeOut" duration="300" alphaFrom="1.0" alphaTo="0.0"/>
<mx:Fade id="fadeIn" duration="300" alphaFrom="0.0" alphaTo="1.0"/>
<mx:ModuleLoader id="workspace" x="0" y="0" width="100%" height="100%" url="LoginView.swf"/>
</mx:Application>
它就像小菜一碟..我只是做了一些Java业务更改并部署项目..