access demoProj project under the/SRC/math/calculate/testjsonp in Java interface methods: testjsonp2 (String, String).
The Java class is not a servlet, in the spring framework, is the most primitive Java code, now I want to put it in the tomcat via the url to access, can realize how to configure, visit the url is what?
CodePudding user response:
Define an annotation, through the reflection of the wayCodePudding user response:
Can you say the detailed point, I'm not familiar with this, thank youCodePudding user response:
Under the eclipse the server on the inside of the tomcat container to join, then WEBINF below web. XML configuration inside servlet access pathCodePudding user response:
@ yhhr1 thank you, the method of the servlet, I know, I don't just want to know the servlet, without any frameworks, pure the most primitive Java code into the tomcat zha accessCodePudding user response:
The original poster in finding a solution