


第二种方法,利用servletpath
接着利用substring介入方法名,
接着利用反射,
method method=getclass.getdeclaremethod(methodname,httpservletrequest,httpservletresponse)获取方法,
method.involve(this,request,response)
第二种方法,利用servletpath
接着利用substring介入方法名,
接着利用反射,
method method=getclass.getdeclaremethod(methodname,httpservletrequest,httpservletresponse)获取方法,
method.involve(this,request,response)
本文标题:多个请求对应一个servlet
本文链接:https://www.haomeiwen.com/subject/jknkwttx.html
网友评论