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
What does the string method compareto () do?
Is null a value?
Tell me how many ways are there to initialise an integer with a constant.
Difference between serialization and deserialization in java?
Which collection is best for sorting in java?
Explain about the interpreter in java?
What is data type in java?
How would overload a function based on return type?
How to print an arraylist in java?
What is string syntax?
what r advatages of websphere? & how to deploy?
how to create multithreaded program? Explain different ways of using thread? When a thread is created and started, what is its initial state? Or extending thread class or implementing runnable interface. Which is better? : Java thread
What does opcode mean?
What are "methods" and "fields"?
Explain runtime exceptions?