Skip to main content

Posts

Showing posts from June, 2016

Lenovo Zuk Z1 Mobile Specification

Lenovo Zuk Z1  Mobile Specification History: The ZUK Z1 is an Andriod smartphone     manufactured by ZUK Mobile   , in collaboration withLenovo . Unveiled in August 2015, it is the first product by ZUK. In most markets outside china , the ZUK Z1 ships with the Cyanogen os     operating system pre-installed. Cyanogen OS is a commercial variant of  CyanogenMod. In China , the ZUK Z1 ships with its own ZUI distribution, based on Android 5.1 "Lollipop". . Specifications: Lenovo Zuk Z1  Mobile Specification processor Quad Core, 2.5 GHz RAM 3 GB RAM CAMERA 13 MP Primary Dual LED Flash  and 8 MP Secobdary Camera Secondary 5 MP Network Dual sim and 4G connectvity Launch 23/06/2016 Body  Dimensions:155.7 x 77.3 x 8.9 mm (6.13 x 3.04 x 0.35 in) 175 g (6.17 oz) Display

Bitri sathi Six Pack

JSP tutorial part 17: JSP property actions

The <jsp:setProperty> Action: The setProperty action sets the properties of a Bean. There are two basic ways to use the setProperty action: 1. You can use jsp:setProperty after, but outside of, a jsp:useBean element, as below: <jsp:useBean id="myName" ... /> ....... <jsp:setProperty name="myName" property="someProperty" .../> In this case, the jsp:setProperty is executed regardless of whether it is a new bean or an existing bean. 2. A second context in which jsp:setProperty can appear is inside the body of a jsp:useBean element, as below: <jsp:useBean id="myName" ... > ... <jsp:setProperty name="myName" property="someProperty" .../> </jsp:useBean> Here, the jsp:setProperty is executed only if a new object is instantiated, not if an existing one is found. Following are the list of attributes associated with setProperty action: Attribute Des

JSP tutorial part :16: JSP ACTION TAGS

JSP ACTION TAGS   JAVA BEANS Uses of JSP Constructs: • Scripting elements calling servletcode directly • Scripting elements calling servletcode indirectly (by means of utility classes) • Beans • Servlet/JSP combo (MVC) • MVC with JSP expression language • Custom tags • MVC with beans, custom tags, and a framework like Struts or JSF Creating dynamic content in JSPs The commonly used JSP tags for creating dynamic content within a JSP are : jsp:useBean jsp:getProperty jsp:setProperty About Java beans: A JavaBean is a Plain Old Java object (POJO) that isSerializable, has a0-argument i.e.no-argconstructor, and allows access to its properties usinggetter and setter methods. Java Beans are Java classes that obey the following conventions: –Must have a zero-argument (empty) constructor •You can satisfy this requirement either by explicitly defining such a constructor or by omitting all constructors –Should have no public instance variab