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

Popular posts from this blog

javascript - Iterate over array and calculate average values of array-parts -

iphone - Using nested NSDictionary with Picker -

objective c - Newbie question -multiple parameters -