How to setup GWT for Tomcat?

前端 未结 4 553
傲寒
傲寒 2021-02-14 08:43

I am new to GWT and learning it via the the Google documents. How do I setup GWT with Tomcat? I am required to intergrate it with Tomcat for work purposes.

4条回答
  •  滥情空心
    2021-02-14 09:16

    I use GWT with Tomcat in hosted mode. I modify ant file generated by WebAppCreator to do the next(target to run-> hosted):

    1. Compile java sources(javac)
    2. Copy war folder to webapps/myapp
    3. Initialize devmode
    4. You must restart manually Tomcat

      
      
        
        
        
      
        
        
      
        
          
          
          
          
          
        
      
        
          
          
          
          
        
      
        
          
          
            
          
          
            
          
        
      
        
          
          
              
               
          
                        
          
        
      
      
        
          
            
              
              
              
              
            
            
            
            
            
            
            
            
          
        
      
        
          
            
              
              
              
              
            
            
            
            
            
            
            
           
            
                  
          
        
      
        
      
        
      
        
          
        
      
            
              
        
      
      
      

提交回复
热议问题