Tuesday, July 24, 2007

What is JSP?

Java Server Pages. (This is a technique to separate static HTML form dynamic by adding tags in the html document).
Is it written in JavaScript? -> No it is HTML + Java
How does a Servlet look -> A Servlet is pure Java code.
How to call a function included in a JAR package in JSP? -> Include the Jar package in the webapps/lib/ folder. And then import the package name, which is there in the top line of the Java source file in the JSP file. You can now use the function in the Java classes.

No comments: