我需要知道如何将我的Weblogic应用服务器从第1版升级到第2版.我的操作系统是Windows 7 64位.我是新手,其他人安装了weblogic所以我试图自己安装它,但它给了我错误
C:\ Users\User\Downloads> java -D64 -jar wls_121200.jar提取文件............................... ................................. ................. ...................必须使用Java Development Kit(JDK)执行此安装程序,但C:\ Program Files\Java\jre7不是有效的JDK.Oracle Universal Installer失败.退出.
所以我解压缩了7拉链的jar现在intaller已经启动它是正确的方法吗?
我有个人课
Person p = new Person();
.......
.....
Run Code Online (Sandbox Code Playgroud)
以下不起作用
webEngine.executeScript("add(" + p + ")");
Run Code Online (Sandbox Code Playgroud)
并在 html
function add(obj)
{
document.getElementById("helloprompt").innerHTML= obj.name; // error
}
Run Code Online (Sandbox Code Playgroud) 我有两个与动画有关的问题.
1)下面的代码没有设置tittle和border的动画我正在调用下面的this.FadeIn(),这当然是UIElement类型.
public static void FadeIn(this UIElement targetControl)
{
DoubleAnimation fadeInAnimation = new DoubleAnimation(0, 1, new Duration(TimeSpan.FromSeconds(1.5)));
Storyboard.SetTarget(fadeInAnimation, targetControl);
Storyboard.SetTargetProperty(fadeInAnimation, new PropertyPath(UIElement.OpacityProperty));
Storyboard sb = new Storyboard();
sb.Children.Add(fadeInAnimation);
sb.Begin();
}
Run Code Online (Sandbox Code Playgroud)
2)这也不起作用,没有显示动画.
public static void SkewAnimation(this UIElement targetControl)
{
DoubleAnimation skewAnimation = new DoubleAnimation(0, 360, new Duration(TimeSpan.FromSeconds(3)));
Storyboard.SetTarget(skewAnimation, targetControl);
Storyboard.SetTargetProperty(skewAnimation, new PropertyPath(SkewTransform.AngleXProperty));
Storyboard sb = new Storyboard();
sb.Children.Add(skewAnimation);
sb.Begin();
}
Run Code Online (Sandbox Code Playgroud) string s =@"­";
string r = HttpUtility.HtmlDecode(s);
string r3 = string.Format("1{0}Jan{0}2007",r);
Console.WriteLine(r3);
if(r3 == "1-Jan-2007")
{
Console.WriteLine("Equal");
Console.WriteLine("1-Jan-2007");
}
else
{
Console.WriteLine("Not Equal");
Console.WriteLine("1-Jan-2007");
}
Run Code Online (Sandbox Code Playgroud)
输出是
2007年1月1日不等于2007年1月1日
但当我用" - "替换r,即string.Format("1 {0} Jan {0} 2007"," - "); 输出是
2007年1月1日等于2007年1月1日