but the javax.servlet.jar does'nt not contain getJspApplicationContext... this method exists in jsp-api.jar . why is the wrong reference occuring. please help.
if may be cos of anyother thing please let me know with possible solutions.
Every JSP translates into a Servlet eventually. The above stacktrace does not seem to be complete. Can you please post the complete stack trace.
The issue here is not with the jsp-api jar. Something is wrong with your jsp page itself.