ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip   To Refer this Site to Your Friends   Click Here
Google
 
Categories  >>  Software  >>  Core Java  >>  Java J2EE  >>  Java Related
 
 


 

 
 Core Java interview questions  Core Java Interview Questions
 Advanced Java interview questions  Advanced Java Interview Questions
 Swing interview questions  Swing Interview Questions
 EJB interview questions  EJB Interview Questions
 Servlets interview questions  Servlets Interview Questions
 Struts interview questions  Struts Interview Questions
 JDBC interview questions  JDBC Interview Questions
 JMS interview questions  JMS Interview Questions
 SunOne interview questions  SunOne Interview Questions
 J2EE interview questions  J2EE Interview Questions
 Weblogic interview questions  Weblogic Interview Questions
 Websphere interview questions  Websphere Interview Questions
 Java Networking interview questions  Java Networking Interview Questions
 Java J2EE AllOther interview questions  Java J2EE AllOther Interview Questions
Question
why ,we are using jsp and html.which one is better?
 Question Submitted By :: Gopalraop
I also faced this Question!!     Rank Answer Posted By  
 
  Re: why ,we are using jsp and html.which one is better?
Answer
# 1
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 ?    1 Yes 0 No
Sivasubramanian.k
 

 
 
 
Other Core Java Interview Questions
 
  Question Asked @ Answers
 
what is the difference between ArrayList and Vector Wipro10
Does java support multi dimensional arrays ?  4
what is difference between requestprocessor and request dispatcher? Tech-Mahindra1
what is the use of finalize()Method please explain with an example  2
How does a try statement determine which catch clause should be used to handle an exception?  2
What is a Wrapper class?  3
What is a layout manager?  1
When we can access the static data member without creating the object what is the need of the object in java.  1
How to validate the request (Eg:user name and password) in session(http session)? not in LDAP server ? Saksoft1
Different types of modifiers? RoboCom2
suppose string s1="rajnish"; string s2="bhaskar"; then what will be happend ? Fidelity5
In Inheritence concept, i have a static method in super class and i am inheriting that class to one sub class.in that case the static method is inherited to sub class or not???? Accenture7
How to add panel to a Frame?  2
Relationship between an event-listener interface and an event-adapter class?  1
What is Collections API?  1
byte a=5; byte b=5; byte c=a+b; System.out.println(c); whats the o/p? Wipro5
Which all r Final classes in java except string?  3
what are the jsp tags with example? Photon1
What is a stream? what are the different types and classes of Streams?  1
What is meant by constructor?  3
 
For more Core Java Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com