jsp - How to access user-defined functions of a servlet? -
i tried searching this, didnt got solid answer. possible call functions other doget or dopost of servlet jsp. know can call them indirectly making call either doget or dopost , calling function there.
for eg:
public class fooservlet extends httpservlet { public void doget(httpservletrequest request, httpservletresponse response){ } public void myfunc(){ }
how call myfunc jsp
no. published interface servlets doxxx
methods (doget, dopost, etc). right way invoke other methods calling published interface , calling other methods.
Comments
Post a Comment