簡體   English   中英

IE上的Struts2 / Dojo兼容性問題

[英]Struts2/Dojo compatibility issues on IE

我基於struts2設計了一個Web應用程序。 它在Firefox中效果很好,但在新版本的IE上不再起作用。 我在dojo操作上收到以下錯誤。 有人可以幫忙嗎?

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0;     SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C)
Timestamp: Mon, 19 Nov 2012 08:13:29 UTC
Message: Invalid argument.
Line: 5814
Char: 3
Code: 0
URI: https://mysite.com/myappName/struts     /dojo/struts_dojo.js.uncompressed.js

我強烈建議您擺脫Struts2 Dojo插件,而使用純Dojo庫。

Struts2 Dojo插件是:

  • 從Struts2 2.1.x開始不推薦使用
  • 遠低於當前的Dojo版本
  • 越野車

讓我們嘗試一下,您不需要做很多工作,只需替換導入,然后看看會發生什么。

希望能有所幫助。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM