JSP problem

When I run a JSP application on Tomcat 5.5.12, I don't understand while each time I run it, I got this exception

Then I found that maybe IntelliJ deletes ROOT folder in webapps folder, so I got this exception.

How can I fix it? I'm running IntelliJ IDEA 5.0.2 build 4101 and Tomcat 5.5.12. Thanks!

1 comment
Comment actions Permalink

I resolved it myself. When config deployment for web module in Deployment tab, should change "Application context" from / to /[your_module_name].

Now my problem is when I deploy a web module, it does not contains JSP files, only classes in WEB-INF/classes.

Can anybody help me? Thx!


Please sign in to leave a comment.