Hi Lee the function was not static. Now i got another problem. When i try to run this JSP with other war then it prints . The function call does not happen. Its not detecting the function call at all.
Yes Lee, the function was not static and i have changed it to static and that was solved and works fine, but my new problem is when i try the same JSP in other WAR, it just prints this code as it is, function call does not happen. . If the function was not static it gives a NullPointerException as earlier but does not print the above code! Why is this happening,
Is the web app properly declared in the deployment descriptor? Is the tag library properly declared on the pages? And if you have already checked these things, you should state so.