one example is using the <form> tag...
here is a sample...
<form method ="get" action="myservlet">
<input type="submit" name="aaaa" value="zzz">
If I stare at something, it doesn't necessarily mean that it is beautiful..... because most of the time, I stare to see how ugly it truly is....
Of course it's possible to invoke a servlet with a form -- that's not what is being asked here.
Joined: Jun 07, 2011
Sorry I didn't make myself clear.... if you want to call the add() function, then just create a seperate servlet which would contain all the methods in your add() function and call the newly created servlet... then would be as if you called the add() itself.... well just trying to help...