1. #1
    Sencha User
    Join Date
    Aug 2008
    Posts
    226
    Vote Rating
    2
    TheBuzzer is on a distinguished road

      0  

    Default 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:
    Attached Files

  2. #2
    Ext User
    Join Date
    Oct 2008
    Posts
    1
    Vote Rating
    0
    lavarea is on a distinguished road

      0  

    Default


    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?

  3. #3
    Sencha User
    Join Date
    Aug 2008
    Posts
    226
    Vote Rating
    2
    TheBuzzer is on a distinguished road

      0  

    Default


    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>

  4. #4
    Ext GWT Premium Member gslender's Avatar
    Join Date
    Mar 2008
    Location
    Brisbane, Australia
    Posts
    1,572
    Vote Rating
    3
    gslender is on a distinguished road

      0  

    Default


    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

  5. #5
    Sencha User
    Join Date
    Aug 2008
    Posts
    226
    Vote Rating
    2
    TheBuzzer is on a distinguished road

      0  

    Default


    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

  6. #6
    Sencha User
    Join Date
    Aug 2008
    Posts
    226
    Vote Rating
    2
    TheBuzzer is on a distinguished road

      0  

    Default


    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.

Thread Participants: 2