why ,we are using jsp and html.which one is better?
Answer Posted / sivasubramanian.k
JavaServer Pages (JSP) is a Java technology that allows
software developers to dynamically generate HTML, XML or
other types of documents in response to a Web client
request. The technology allows Java code and certain pre-
defined actions to be embedded into static content.
The JSP syntax adds additional XML-like tags, called JSP
actions, to be used to invoke built-in functionality.
Additionally, the technology allows for the creation of JSP
tag libraries that act as extensions to the standard HTML
or XML tags. Tag libraries provide a platform independent
way of extending the capabilities of a Web server.
JSPs are compiled into Java Servlets by a JSP compiler. A
JSP compiler may generate a servlet in Java code that is
then compiled by the Java compiler, or it may generate byte
code for the servlet directly. JSPs can also be interpreted
on-the-fly reducing the time taken to reload changes.
So JSP is better than HTML as it contains both static and
dynamic content..
| Is This Answer Correct ? | 10 Yes | 1 No |
Post New Answer View All Answers
Why do you canvas?
Does java allow overriding static methods ?
What is the default value of byte datatype in java?
What is the r character?
Which data type is a class in java?
What is the difference between preemptive scheduling and time slicing?
What is the use of keywords in java?
What is the purpose of a default constructor?
What's the base class in java from which all classes are derived?
Describe different states of a thread.
Which is better list or arraylist in java?
How do you check if a character in a string is a digit or letter?
What is a vector in java?
What are the different types of collections in java?
What's a method in programming?