2007-08-02

JBuilder2006的配置tomcat的问题

关键字: JBUILDER TOMCAT

在eclipse上面配置好tomcat,就会有一个小猫出现,点小猫就可以运行了.JBuilder2006怎么配置tomcat?我在我的工程的properties->server那个已经选择了tomcat5,路径也设好了.当在点那个run   project/debug   project都不行.那个runtime   configurations要怎么设置?

 

在jbuilder中创建web应用,并与tomcat5集成  
   
  1.新建工程,file-->new   project,进入创建工程向导  
  在name中:输入工程名字如hello  
        在directory选择工程存放的目录,如d:/tmp,  
  之后,按缺省设置,最后按finish  
   
  2.配置服务器:enterprise-->Configure   Servers进入配置服务器对话框  
  在左边的列表中,选中tomcat5.0,选中右边的Enable   Server的复选框  
   
  3.为工程设置服务器  
  右键工程名称,选弹出菜单中选properties...(工程属性),进入工程属性对话框  
  在左边的列表中,选中server,在右边的Single   Server   for   all   project下的下拉列表中  
                  选tomcat5.0,按OK按钮  
   
  4.配置运行环境,run-configurations,进入Runtime   Configurations对话框,按new按钮,进入  
          New   Runtime   Configuration  
    在Name中输入tomcat5  
    在Build   target中选:<none>  
  在type中选:server  
  按OK完成配置  
  5.创建web应用  
  file-->new   进入Object   Gallery对话框,在左边的列表中,选web,在右边的选项中选  
  Web   Module(WAR),按OK,进入web   module创建向导  
  选create   empty   Web   module,按next进入下一对话框  
   
  在name中输入:helloWeb  
  在Build   Web   archive中选when   building   module   only,按next进入下一对话框  
  按finish完成web应用创建  
  6.创建jsp页面  
  选中helloWeb下的Module   directory,右键new-->jsp进入jsp创建向导页面,在name中输入  
  hello,按finish完成jsp页面  
  7.测试,运行  
  启动tomcat5,

评论
发表评论

您还没有登录,请登录后发表评论

dodomail
搜索本博客
存档
最新评论