5.0没用过不过可以给你这个
Here are the steps I took to use Tomcat 4.0.3 with JBuilder 5 Professional. 
1) Download Tomcat 4 and unzip it to C:\jbuilder5 or whatever location you installed JBuilder. (Remember to preserve the directory structure of Tomcat.) 2) Download the patch for Tomcat 4 from Borland (codecentral.borland.com) It is ID# 16697 and is called "JBuilder 5 Tomcat 4.0 Fix". Unzip the Tomcat4NamingFix.jar file to C:\jbuilder5\lib\ext. (Note: There are also some instructions included in the .zip file that you can look at. The instructions also explain exactly what the patch does). 3) Close JBuilder and then re-open it. Click on Project | Project Properties | Web Server. In the drop-down box, there should now be an option for "Tomcat 4 -nonaming". Select that item and then click on Setup. Browse to the location where you unzipped Tomcat 4 (i.e. c:\jbuilder5\tomcat4.0.x). Select the main Tomcat folder (tomcat4.0.x) and click OK. 4) You will also need to create a new library for the Tomcat 4 jars. To do this, select Tools | Configure Libraries | New. Create a new library called Tomcat 4.0 Servlet (if there is already a library for Tomcat 4.0 Servlet, you don't need to create a new one). If you created a new library, enter the name for the library (Tomcat 4.0 Servlet). Under Library Paths, click on Add and select the following jar files: 
  C:\jbuilder5\jakarta-tomcat-4.0.x/common/lib/servlet.jar
  C:\jbuilder5\jakarta-tomcat-4.0.x/lib/jasper-compiler.jar
  C:\jbuilder5\jakarta-tomcat-4.0.x/lib/jasper-runtime.jar
Click OK. If the Tomcat 4.0 Servlet library was already present, make sure that the jar files above are listed under the Class tab for that library. 5) Now, you should add the Tomcat 4.0 Servlet library to your project. To do this, click on Project | Project Properties | Paths | Required Libraries | Add. Select the Tomcat 4.0 Servlet library that was created in Step 4. Now you should be able to compile and run your application using Tomcat 4.0. If you have any additions or corrections to this process, please post them.