This is to use maven tomca7: run run, the result of the verification code for less than originally thought it was the servlet write wrong, but directly with Tomcat startup can get different verification code and the address bar, so I tried to run the maven Tomcat7 behind: after the run in the address bar directly enter localhost/travel/register. The HTML found also can obtain the verification code, but in the idea of direct click on the browser icon in the top right corner will be like the above access to a different address for verification code, don't know why, may be maven's problem, but don't know how to set up, baidu also not suitable as a result,
Pom. In XML maven and Tomcat as follows:
His blind whole day what also have no result, was unable to help you, save the children, what the reason, don't start using maven project will be manually entered address access cannot jump code with the idea?