what is Jsp ?

India
January 30, 2007 8:18am CST
Do any one know Jsp ,its one of the component in J2ee,I need to know what is theneed for going Jsp when thereis a html ? If any one konws please respond....
4 responses
• India
12 May 09
JSP(JavaServletPage) is a technology devoloped by sun microsystems.In past the servlets are taking main place to write the webprograms or servlet programming.then it is very hard and must have sound knowledge of servelts but in jsp that much of jave knowledge is not need it compress the code i,e no need to write whole code in jsp page only you have to write the which out put u want in the perticular html code . If you want in dynamically you can genarate the dynamic code by using .xml file and .java fiels and .jsp files these are nessasary to learn jsp. jsp is one of the component in j2ee. you must place your html,jsp file in ROOT directory. in ROOT --WEB-INF--Classes--first.java or first.class files will be placed. and ROOT --WEB-INF--.xml file will be placed to know the url pattern of your page.
• India
27 Apr 07
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.
@huanghaozi (1472)
• Egypt
12 Feb 07
JavaServer Pages (JSP) technology provides a simplified, fast way to create dynamic web content. JSP technology enables rapid development of web-based applications that are server- and platform-independent. ยป Read More JavaServer Pages has two subcategories: Tag Libraries JavaServer Pages Standard Tag Library JSP Technology in the Java EE 5 Platform The focus of Java EE 5 has been ease of development by making use of Java language annotations that were introduced by J2SE 5.0. JSP 2.1 supports this goal by defining annotations for dependency injection on JSP tag handlers and context listeners. Another key concern of the Java EE 5 specification has been the alignment of its webtier technologies, namely JavaServer Pages (JSP), JavaServer Faces (JSF), and JavaServer Pages Standard Tag Library (JSTL). The outcome of this alignment effort has been the Unified Expression Language (EL), which integrates the expression languages defined by JSP 2.0 and JSF 1.1. The main key additions to the Unified EL that came out of tbe alignment work have been: * A pluggable API for resolving variable references into Java objects and for resolving the properties applied to these Java objects, * Support for deferred expressions, which may be evaluated by a tag handler when needed, unlike their regular expression counterparts, which get evaluated immediately when a page is executed and rendered, and * Support for lvalue expression, which appear on the left hand side of an assignment operation. When used as an lvalue, an EL expression represents a reference to a data structure, for example: a JavaBeans property, that is assigned some user input. The new Unified EL is defined in its own specification document, which is delivered along with the JSP 2.1 specification. Thanks to the Unified EL, JSTL tags, such as the JSTL iteration tags, can now be used with JSF components in an intuitive way. JSP 2.1 leverages the Servlet 2.5 specification for its web semantics.
@varun121 (104)
• India
30 Jan 07
Jsp is something dynamic,but html is a static one. Whenever you created a servlet a Jsp page will also formed .Jsp has some tags which you should memorize and putin the program.Each tag is for include initialize and for logic, etc