-
11 Oct 2008 3:20 AM #1
My project using gxt so far
My project using gxt so far
http://ottocap.com:8080/ottoos/
username: test
password: test
here is the source:
-
17 Oct 2008 11:25 AM #2
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?
-
17 Oct 2008 1:31 PM #3
well i am using netbeans. with the gwt4nb plugin. so the web file let me find it here:
Code:<?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>
-
17 Oct 2008 2:37 PM #4
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,
grantGXT JavaDocs: http://extjs.com/deploy/gxtdocs/
GXT FAQ & Wiki: http://extjs.com/learn/Learn_About_the_Ext_GWT_Library
Buy the Book on GXT: http://www.apress.com/book/view/9781430219408
Follow me on Twitter: http://twitter.com/gslender
-
18 Oct 2008 1:34 PM #5
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
-
3 Nov 2008 8:48 AM #6
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.


Reply With Quote