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 is difference between business delegate and data access object(dao)? in java?

1 Answers  


What are the drawbacks for singleton class?

0 Answers  


What is a platform?

0 Answers  


Write a program in java to establish a connection between client and server?

0 Answers  


My interview asked what is dynamic variable in java and where we use them.

2 Answers   IBM,


How many characters is 16 bytes?

0 Answers  


What is io stream in java?

0 Answers  


What is a singleton class in Java?

0 Answers  


What is use of set in java?

0 Answers  


What is the exact difference in between unicast and multicast object? Where we will use?

0 Answers  


What will happen inside init() in servlet. my interviewer asked servlet lifecycle. i said "once servlet is loaded in to memory init() will be called which performs servlet initialization " . Again interview asked what values will be initialized . what is difference between init() and init(ServletConfig config).

2 Answers   Infinite Computer Solutions, TCS,


11. static class A { 12. void process() throws Exception { throw new Exception(); } 13. } 14. static class B extends A { 15. void process() { System.out.println(”B”); } 16. } 17. public static void main(String[] args) { 18. new B().process(); 19. } What is the result? 1 B 2 The code runs with no output. 3 Compilation fails because of an error in line 12. 4 Compilation fails because of an error in line 15.

6 Answers  


Categories