precompile jsps into classes for Jetty8 using ant

后端 未结 3 1214
情话喂你
情话喂你 2021-01-03 16:03

We are using jspc ant task to pre-compile JSP files into classes/(then package into war)

Now we are switching to Jetty 8. According to the doc, there exists a maven

3条回答
  •  臣服心动
    2021-01-03 16:38

    Its best if you use the JSP libs that comes with the jetty distribution.

    Here's an example, using jetty-distribution-8.1.5.v20120716

    
    
    
        
    
        
            
                
                
            
        
    
        
            
                
            
            
        
    
        
            
            
        
    
        
            
            
            
            
                
            
        
    
        
            
                
            
        
    
        
            
                
            
            
        
    
        
            
            
        
    
    
    

    Update: April 8, 2013

    Pushed an example project with this build to github.

    https://github.com/jetty-project/jetty-example-jspc-ant

提交回复
热议问题