Showing posts with label of. Show all posts
Showing posts with label of. Show all posts

Wednesday, June 18, 2008

what is the use of reset() method in ActionForm?

The use of reset() method in ActionForm is it is used by the Struts Framework with each request that uses the ActionForm. The main purpose of reset() method is to reset all the data members of the ActionForm object and allow the object to be pooled for reuse.

Monday, June 16, 2008

how to find the 2nd, 3rd ,4th ... nth highest salary of the employee from emp table?

select sal from emp e1 where (n-1)=(select count(DISTINCT sal)
from emp where sal > e1.sal )