Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


why ,we are using jsp and html.which one is better?

Answers were Sorted based on User's Feedback



why ,we are using jsp and html.which one is better?..

Answer / 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

why ,we are using jsp and html.which one is better?..

Answer / giridhar gangapatnam

jsp is used for both static and dynamic contents in web
applications. But html is only for static contents.
So, as per my knowledge jsp is better than html

Is This Answer Correct ?    8 Yes 0 No

Post New Answer

More Core Java Interview Questions

What do you mean by the term transient?

5 Answers   Ericsson,


What is the difference between an array and an array list?

0 Answers  


What classes of exceptions, caught by a catch clause?

1 Answers  


How to set the Heap size in Java ?

2 Answers   HCL,


What is ide with example?

0 Answers  


What is design pattern and there types?

2 Answers   Cap Gemini,


How does serialization work

3 Answers   Ordain Solutions,


What is an Exception ?

10 Answers  


What is clipping?

2 Answers  


What is the life cycle of Servlet?

3 Answers  


where to use join method and explain with real time senario?and programatical explenation also..

1 Answers   TCS,


What does provide mean construction?

0 Answers  


Categories