2013年12月4日星期三

Rookie encountered some trouble , is on the issue of servlet on tomcat running , bitter death sentence , seeking salvation

I created a webapp under myweb folder , then create WEB_INF login.jsp folders and files in the myweb, then under WEB_INF established classes folder , lib folder , web.xml file , and then I the compilation of examples under tomcat original tape over the servlet class files, configuration files ( after the change ) sequentially copied to my myweb , and then in the browser can access the login.jsp, you can also visit the original tapes of examples tomcat compiled under servlet that they can not access my copied , ask where is the problem , I was moved to give it a place , it is how to die ...... and my servlet I put one by one under my myweb ; class examples can be copied to the visit , moved back to die ? ? ? ? ? ?
------ Solution ------- -------------------------------------
reported anything wrong yet? You copied the whole try
------ Solution ---------------------------------- ----------
What is " move in a different place ?" you put people in a bag under the bare path , of course not.

people under the async package , as you put in your own project in the next async package.
------ Solution ---------------------------------------- ----
should be the package name is not the same , they have compiled class files in a specific package below , you move past the people's equal to the entire package in your package below , certainly does not work ah
------ For reference only ------------------------------------- -
Thank you for helping the big guy , ha , I find it a problem , when I build WEB-INF folder wrote WEB_INF, it has not been successful. I copied that my problem is to find , the results also self-defeating . This problem annoys me forty-five days . Finally air smoothly , thanks thanks thanks again .

没有评论:

发表评论