I try to write some JSP code with IntelliJ. So I start a new project and I choose web module and Tomcat as AS (all other stuffs I let with default values %MY_ACCOUNT_HOME%\IdeaProjects\myapp).
and I config Run/Debug Configurations > Tomcat server
My problems are:
1) My code is %MY_ACCOUNT_HOME%\IdeaProjects\myapp and in order to run it I must manually copy it to my Tomcat webapps. Is there any way to do that automatically?
2) How I start in web browser the current jsp page I edit?
I saw in Run/Debug Configurations the startup browser option but it is not easy to do a configuration for each page I have.....
So in common I need to write code, be in the right directory (%TOMCAT_HOME%\webapps), and when I push run to load my default browser with that page. Can this done ?
I use windows XP
I read the help but does not help me more...