我觉得,把tomcat5的解压缩后的文件替代掉jbuild的tomcat文件夹,记得把文件夹名改成跟原来一样的,这么应该可以了吧

解决方案 »

  1.   

    1.tools - configure servers - 
    2.如果还想保留Tomcat4.0,那么Copy一个,取个名如Tomcat5.0
    3.设置server setting
      主要配置:Home directory, Main class, Work directory及class等
      

  2.   

    Sorry,没看清:)可能是你没有设置好,应该是可以的。
      

  3.   

    不行啊,,tomcat5.0 支持jsp API 2.0 啊,但jbx显示是1.2 且只读
      

  4.   

    在你的run下面有一个configure
    打开那个窗口,然后新建一个工程
    在要在那个里面配置一下就可以了
    -config 你的tomcat的server.xml的位置这样当你run或者debug的时候,就会调用你的tomcat
      

  5.   

    to: sandyen(杉叶) 
    能否详细一些,我不知道如何配置configure
      

  6.   

    从jbuilder运行的时候会自动产生一个叫server8080.xml的文件来配置tomcat的启动,你可以把他拷贝下来,修改之后(包括删掉里面的注释)放回去(因为在停止tomcat时,原来的server8080.xml会被自动删掉)。
      

  7.   

    我觉得,把tomcat5的解压缩后的文件替代掉jbuild的tomcat文件夹,记得把文件夹名改成跟原来一样的,这么应该可以了吧——引用
    是不是很幼稚啊
      

  8.   

    都不行的。我也正想用这个。我测试了,改成Tomcat后,出现了编译错误。JbuilderX对自动生成的Servlet报错!UP,等待高手!其实Tomcat4.0也能用...
      

  9.   

    copy a server installation, name it tomcat5copy tomcat5 into your thirdparty dirget the server8080.xml file generated from jbuilder, delete the comments so that is is not regenerated and change <Connector acceptCount="10" className="org.apache.coyote.tomcat4.CoyoteConnector" to <Connector acceptCount="10" className="org.apache.coyote.tomcat5.CoyoteConnector" then try and sort out the librarys.. 
      

  10.   

    找不到server8080.xml 这个文件丫,强烈关注!!!!!!!!!!!!
      

  11.   

    I was able to get this working with JBuilder X Developer. It's kind of ugly, you have to work-around all the JBuilder library features. I did the following. You'll need to update your paths appropriately.Install Tomcat 5 to a directory (C:\jakarta-tomcat-5.0). 
    Create a new configuration based on "Application". 
    Set the Main Class to org.apache.catalina.startup.Bootstrap 
    Set the VM parameters to be -Dcatalina.home="C:\jakarta-tomcat-5.0" -classpath "W:\common\jre\lib\tools.jar;C:\jakarta-tomcat-5.0\bin\bootstrap.jar;ALLYOURCLASSES;" 
    Set the Application Parameters to be -config "J:\javadev\Tomcat\conf\server8080.xml" -nonaming start 
    On the Library tab, set it to only use specified libraries, and then remove all the libraries. 
    The key thing you'll need to do is figure out the classpath that would have been used if all the libraries you needed were included. For the classpath string in step #4 above, I actually have really long string that lists all the JDBC drivers and libraries we use.