Hi, guys:
I wanted to put some code in tomcat/webapps/, I got a folder named '
test' within 'webapps', such as: webapps/test/, then I put .class files to webapps/test/WEB-INF/classes/;
for example: webapps/test/WEB-INF/classes/1.class;
webapps/test/WEB-INF/classes/A/2.class;
webapps/test/WEB-INF/classes/B/3.class;
The process flow is 1 call 2, then call 3.
I worte the file web.xml in WEB-INF; after starting
tomcat, I used
http://localhost:8080/test/1; I got 1, but the browser can not find 2. I do not know why. Acctually, I wrote <servlet-class> A.2</servlet-class>. So, Do you know how to descript the web.xml.
I know you guys have a lot of good idea, please give me some hint. or give me some reference files. Thanks!
Ellen