2013年9月10日星期二

Spring tool suite in engineering how to modify the pathname of webaccess problems

Here I Spring Tool suite created a web project , everything configured.
web project called : Test
WebRoot below creates a jsp file .
deployed after
But when I access the file, even error 404 ?
Why is this ?
web.xml is empty ! ~
no interceptors filter.
------ Solution ---------------------------------------- ----
use what container , tomcat? Right Project --- properties - myeclipse --- web - context Root View Web Context-root under what is the same whether your project name , not the same , change the project name , and then visit .
------ Solution ---------------------------------------- ----
Spring tool suite and MyEclipse there are many similarities, but there are a lot of different .
Spring tool suite is not corresponding to the context Root engineering url address .
Spring tool suite is needed in the web.xml file configuration .
you open the web.xml file look
------ Solution ---------------------------- ----------------
web.xml is empty ?

this problem, book online too many examples . want to do it yourself .


------ For reference only ---------------------------------- -----

online MyEclipse much, but Spring tool suite this tool you can Soso, almost not search .
------ For reference only -------------------------------------- -
the WebRoot renamed WebContent try !
I just started is the problem, change the 'll have access
------ For reference only --------------------- ------------------
I use jetty, set about Context like, select run as -> run configurations -> Context chosen jetty modify the following for their own just fine

没有评论:

发表评论