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

linux - Using a Cron Job to check if my mod_wsgi / apache server is running and restart -

actionscript 3 - TweenLite does not work with object -

jQuery Ajax Render Fragments OR Whole Page -