The <x: parse> tag is used to parse the xml content and the result will be stored in specified variable. Syntax Of <x: parse> Tag Attributes Of <x: parse> Tag Attributes Description doc Specifies that source XML document to be parsed. systemId Specifies the system identifier in xml document for parsing. filter Filter object is …
Java EE
JSTL SQL sql:query Tag
The <sql:query> tag is used to execute a query specified in sql attribute or in the body. It executes SQL statement and saves in the scoped variable. It executes sql query and stores result in specified variable. Attributes of <sql: query>Tag sql: It specifies SQL command that has to be executed. var: It is used …
JSTL SQL Tags Library
The JSTL SQL tags help us interact with the relational databases such as Oracle, MySql and more. Syntax for JSTL SQL Tag The JSTL SQL Tags <sql:setDataSource >: It is used for creating data source that is to be accessed by executing a query. <sql:query >: It is used to execute a query specified in …
EclipseLink / JPA Annotations – @Inheritance With Joined Table Strategy
In the Java Persistence API (JPA) The entities support inheritance, polymorphic, polymorphic associations, and polymorphic queries. Both abstract and concrete classes can be entities, and both of them can be annotated with the @Entity annotation, mapped as entities and queried for as entities. Entities can extend non-entity classes and non-entity classes can extend entity classes, so …
EclipseLink / JPA Annotations – @Inheritance With Single Table Strategy
In the Java Persistence API (JPA) The entities support inheritance, polymorphic, polymorphic associations, and polymorphic queries. Both abstract and concrete classes can be entities, and both of them can be annotated with the @Entity annotation, mapped as entities and queried for as entities. Entities can extend non-entity classes and non-entity classes can extend entity classes, so …
EclipseLink / JPA Annotations – @ManyToMany
The Many-To-Many annotation is one of the most important annotations provided by the EclipseLink – JPA. It defines a many-valued association with ManyToMany multiplicity (See single-valued multiplicity and different kind of many-valued multiplicity). A newly concept has introduced such as (JoinTable) as well as a new annotation like (@JoinTable) when we are coming to introduce …
JSTL Format fmt:requestEncoding Tag
The <fmt: requestEncoding> tag is used to set the character encoding of a request. The Syntax Of <fmt: requestEncoding> Tag Attributes of <fmt: requestEncoding> Tag value: The character encoding is further used to decode the request parameter. Example In first ResourceBundle class we have put color name Listing 1: EncCode_gg.java The another ResourceBundle contains color …
JSTL Format fmt:message Tag
The <fmt: message> tag maps key to localized message to return the value using the resource bundle specified in the bundle attribute. Syntax Of <fmt: message> Tag Attributes Of <fmt: message> Tag Attributes Description key It is used for specifying the key whose value which we want to display. bundle Specifies the resource bundle that …