Could not load project* from super dev mode server when deployed to weblogic/jboss/tomcat?

找遍了OA和google 也没找出能解决的。 其实这个很简单,如果实在eclipse环境下 就是GWT Compile完成后不要run,直接打包成war包,然后deploy到中间件weblogic或者jboss之类的。

2016-05-26 14:05:55

阅读数:602

评论数:1

SmartGWT中文显示乱码的解决办法

总共有2中方法: There are two ways to explicitly tell the browser what character encoding is being used for a given page. One is to set the "Conte...

2016-05-20 10:18:10

阅读数:666

评论数:0

Jetty提交数据时报java.lang.IllegalStateException: Form too large问题解决

今天在使用Eclipse的Jetty插件做为服务器提交富文本编辑中的数据时,报如下异常: [java] view plaincopyprint? java.lang.IllegalStateException: Form too large270...

2013-11-06 16:05:31

阅读数:871

评论数:0

Title and close button are shown on the bottom of the window, SmartGWT

Solution:   Use more meaningful fubjects, such as  :  use  window.addItem()  instead of window.addMember()

2013-09-11 21:28:53

阅读数:690

评论数:0

SmartGWT中的client端Record与Server端的DSRequest搭配使用

Example: 在client端发送了一个 record,如下: private DataSource metroDataSource =com.smartgwt.client.data.DataSource.get("METRO"); Record rd = ...

2013-09-10 11:06:48

阅读数:1185

评论数:0

smartGWT或这GWT获取资源(图片等)路径的方法

比如pic1.png 在 /war/images/pic1.png,  那么获取该资源路径的方法如下: GWT.getHostPageBaseURL()+"images/pic1.png" 这样部署到应用服务器后,运行程序就不会出现找不到资源的情况了

2013-07-26 09:16:58

阅读数:1642

评论数:0

第一个自建SmartGWT项目——SmartGWTHello

新建空的WebApplication Project 导入SmartGWTLibrary 新建GWTModule 修改Hello.gwt.xml文件 新建入口类Hello.java文件 写入代码如下 新建HTMLP...

2013-07-21 22:37:50

阅读数:922

评论数:0

war文件打包教程 web application/SmartGwt

1, 进入web application所在工程目录的war路径下,../war 2,使用\war>jar cf test.war *   打包成test.war 文件 PS: WebLogic中应用可分三种,分别对应不同的描述文件及扩展名或目录结构: (1)*.JAR: 是E...

2012-11-28 13:54:01

阅读数:621

评论数:0

System.out.println() 输出中文乱码

System.out.println() 输出中文乱码 class Hello { public static void main(String[] args) { String strs = "你好,小穆!"; /****情况1 System.o...

2012-04-24 14:55:21

阅读数:9460

评论数:0

警告: Could not open windows ......at root 0x80000002. Windows RegOpenKey(...) returned error cod

警告: Could not open windows registry node Software\JavaSoft\Prefs\...  at root 0x80000002. Windows RegOpenKey(...) returned error cod e 2.     In ...

2012-04-23 13:10:31

阅读数:4396

评论数:1

Solution: No source code is available for type com.google.gwt.maps.client.MapWidget

Solution: Make sure gwt-maps.jar is in my classpath or in the maven dependency path, then add the following code into *.gwt.xml

2012-04-17 15:35:33

阅读数:1987

评论数:0

Solution: java.net.ConnectException: Connection refused: connect

Step1, turn off windows firewall . Step 2, relace the webside or link with ip instead. For instance,         //url = new URL("http://api.pulse...

2012-04-12 14:32:14

阅读数:573

评论数:0

Get the screen size (screen resolution) in SmartGWT

layout = new HLayout(); layout.setWidth100(); int screenWidth = layout.getVisibleWidth(); layout = new HLayout(); layout.setWidth100(); int scre...

2012-04-03 13:50:58

阅读数:687

评论数:0

2 solution of java.lang.OutOfMemoryError in Java

Every one in java development face java.lang.OutOfMemoryError now and then, OutOfMemoryError in Java is one problem which is more due to system's lim...

2012-03-07 16:16:10

阅读数:1129

评论数:0

Configure JUnit's Source in Eclipse

Download this JAR (ftp://ftp.osuosl.org/pub/eclipse/eclipse/updates/3.5/R-3.5-200906111540/plugins/org.junit4.source_4.5.0.v20090423.jar) into your...

2012-03-02 16:29:44

阅读数:457

评论数:0

Difference between GWT.create(SomeClass.class) and new SomeClass()

GWT.create is used by the GWT compiler for deferred binding. Deferred binding is a feature of the GWT compiler that works by generating many versions...

2012-02-29 18:07:45

阅读数:768

评论数:0

提示
确定要删除当前文章?
取消 删除
关闭
关闭