使用ant手动搭建struts2开发环境

来源:互联网 发布:全国网络电视台直播 编辑:程序博客网 时间:2024/05/16 23:56

1.安装部署jdk,安装部署tomcat服务器,下载struts2的jar文件

2.在电脑上新建一个文件夹test,在test文件夹下新建目录lib、src、WEB-INF

 

                                   
                                     
                                   
   antfirsttest!                                   
                                        
         
                             
                                     
                                                                      
                                     
           
                                        
                                     

                                     
                                     
                                       
                                       
                
       
                                       
                                       
                                                                                    
                                         
                                     

                                     
  
        description="compile the source ">                                   
                                            
                                       
    
                                                                         
       
                                                                                
                                        
                                     
                                             
    
  
  
        description="clean up">                                   
       
                                       
                                       
                                       
                                     
 

0 0
原创粉丝点击