What is the difference between jsp tag and html tag

Questions by meher_posh

Showing Answers 1 - 5 of 5 Answers

Debasis Ghosh

  • May 25th, 2006
 

jsp tag is user for any server side scripting, where as html tag is used for normal client site form design. no server side operation can be done through html tag, within jsp tag we can perform the form validation .

manikanta

  • Mar 9th, 2007
 

html tag are based on Markup languge and this tags are used at client side but JSP are used server side script and this

  Was this answer useful?  Yes

Abhilash vvg

  • Dec 6th, 2012
 

Differences between HTML and JSP :

HTML pages provide Static content with emphasis on the appearance, semantics and layout of the Information in the browser.
JSP pages consists of dynamically changing data which can invoke built-in functionality from the server.

HTML runs on the Client side machine in the Web Browser.
JSP runs on the Server side interacting directly with Web Server.

HTML provides a means to describe the structure of text-based information in a document - by denoting certain text as links, headings, paragraphs, lists, and so on - and supplements that text with interactive forms, embedded images, and other objects.

JSP provides an dynamic interface for continuously changing data and dynamically invokes server actions.

HTML is processed locally by the browser.
JSP is processed on the server and local jvm.

HTML loads faster as it runs on the local machine.
JSP takes some time to load as it has to interact with Web Server.

  Was this answer useful?  Yes

JSPs are residing in server-side where as in general HTML are in client side.

In clear way we can say in server side we need to write the code in java format or HTML and other formats too. So at the time of executing this code will be converted into HTML format and post it to the client computer. Where as consider in server side we took the HTML file but we want to embedded java code also, so in that case what we will do ? ..... no option ryt, so that why we are using JSPs. Advantage of jsp is it will understand html,css, java script etc .....

Here as an example i am telling JSP in serverside. we can use other type of pages also for example velocity which works just like JSP only.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions