for example :
another question is, how to add action methods to button in JSP ?
in java we were adding actionlistener for button
button.addactionlistener and we were writing what button is wanted to do so how will we assign methods to button in JSP?
thanks for any supports
i donot know whether i understand you actually.
you can add a button ,the type is button ,not submit.
then add its onclick() method on this button with funciton :fun2().
now,you can do you what you want in fun().