I am using IntelliJ 8.1 and a simple Web application which has a login JSP. The JSP has a form with the following action: ACTION=/keywords/LoginHandler
web.xml looks as follows:
When IntelliJ launches Tomcat, I see the following line:
Using CATALINA_BASE: C:\Documents and Settings\Administrator\.IntelliJIdea8x\system\tomcat\Unnamed_Keywordse57d4893
When I look in $CATALINA_BASE\conf\Catalina\localhost, I see keywords.xml which defines the following context path:
<Context path="/keywords" docBase="C:\Development\Keywords\out\exploded\KeywordsWeb" />
...and when I look in C:\Development\Keywords\out\exploded\KeywordsWeb\C:\Development\Keywords\out\exploded\KeywordsWeb\WEB-INF\classes\web\control, I see LoginHandler.class
So everything seems to be configured right, but when the login form submits, I get the dreaded error "HTTP Status 404 - /keywords/LoginHandler ... The requested resource (/keywords/LoginHandler) is not available."
Tomcat version is 5.5.26.
I have additional information which may be useful. When IntelliJ launches Tomcat, I also see the line:
Using CATALINA_HOME: C:\apache-tomcat-5.5.26
I have another IntelliJ project which has a web application in C:\apache-tomcat-5.5.26\webapps\ROOT. I was expecting IntelliJ to create another directory under C:\apache-tomcat-5.5.26\webapps but this did not happen. I have configured the application context to /keywords Iin Run/Debug Configuration->Tomcat Server). Is there any additional configuration I should be aware of?