I have recently started trying out IDEA's web support. I must say that I am rather disappointed about the difficulty to set it up (havent been able to use it yet, see below). The docs are very meager in this area - mostly pictures, which only duplicate the GUI.
First, I did not find any mentioning that I am required to install tomcat prior to using the web support. Anyway, I went ahead and installed it - just to find out, that the plugins will not work with the current stable version of tomcat (4.1.12). There is a small hint that this is so, because the plugin specifies "4.0.x", but this is nothing more than a hint. IMO, it should be made explicit that it is THIS version that needs to be installed.
The "launch server before debuggee attaches" options is not explained anywhere.
With 4.1.12 I get different errors, depending on which target JDK I use. Under JDK 1.3, tomcat startup fails with a "java.lang.NoClassDefFoundError: org/xml/sax/InputSource". Under JDK 1.4, Tomcat throws a NullPointerException while tring to parse the config file/setting up the logger.
Of course, I chose 4.1.12 for a reason and want/need to use it. It seems that the problems I've seen so far are mostly caused by insufficient or wrong invocation parameters from the plugin.
Is there any chance that I will be able to configure IDEA to support tomcat 4.1.12? If there is no other resort, can anybody give me hints what could be adapted in the tomcat plugin to make it work? Is this underway anwhere else (it should!)?