View Full Version : My project using gxt so far
TheBuzzer
11 Oct 2008, 3:20 AM
http://ottocap.com:8080/ottoos/
username: test
password: test
here is the source:
lavarea
17 Oct 2008, 11:25 AM
In your Main.gwt.xml file you commented "Do not define servlets here, use web.xml". How would I do that? Could you provide your web.xml as an example?
TheBuzzer
17 Oct 2008, 1:31 PM
well i am using netbeans. with the gwt4nb plugin. so the web file let me find it here:
<?xml version="1.0" encoding="UTF-8"?>
<web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
<session-config>
<session-timeout>
30
</session-timeout>
</session-config>
<welcome-file-list>
<welcome-file>welcomeGWT.html</welcome-file>
</welcome-file-list>
<servlet>
<servlet-name>ajaxService</servlet-name>
<servlet-class>org.ottoos.server.AjaxServiceImpl</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>ajaxService</servlet-name>
<url-pattern>/ajaxService</url-pattern>
</servlet-mapping>
<servlet>
<servlet-name>fileUpload</servlet-name>
<servlet-class>org.ottoos.server.FileUpload</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>fileUpload</servlet-name>
<url-pattern>/fileUpload</url-pattern>
</servlet-mapping>
</web-app>
gslender
17 Oct 2008, 2:37 PM
be careful doing this - new versions of GWT will clobber the web.xml if they notice it to be older than the GWT release - it will tell you its done this, but it won't ask first, just overwrites the web.xml and then your app doesn't work !!
cheers,
grant
TheBuzzer
18 Oct 2008, 1:34 PM
well i know gwt4nb had weird problems but that is only for running debug mode. i also fixed that long time ago by some solutions of the gwt forum
TheBuzzer
3 Nov 2008, 8:48 AM
well i updated the online thing with my work so far. Now you can miss around with one of the neat features where is customizing cap colors. Overseas are using line drawings while domestic caps are pictures.
Powered by vBulletin® Version 4.1.5 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.