Sunday, January 6, 2019

the food of india

                                              Indian Food 
  
Indian cuisine consists of a wide variety of regional and traditional cuisines native to the Indian subcontinent. Given the range of diversity in soil type, climate, culture, ethnic groups, and occupations, these cuisines vary substantially from each other and use locally available spices, herbs, vegetables, and fruits . Indian food is also heavily influenced by religion, in particular Hindu, cultural choices and traditions. The cuisine is also influenced by centuries of Islamic rule, particularly the Mughal rule. 

Who do not love the spiciness and the variety of Indian food from Chole Bhature to Sahi Paneer and Rajma Chaval . the ingredients are complex and diverse but still the simplicity of the food is  very appreciable.the sweet and spicy taste of the food and the best thing is about that is healthy. there are only some cuisines in the world which fuse taste with health in a way that the Indian cuisine do. the combination of spices from all around the earth gives the food it complex taste
 om all around the earth gives the food it complex taste

the variety of ingredients in the food gives food it's Indianans . But still the real taste comes form the Indian kitchens and the Indian  women that cook it with all their love




Saturday, November 21, 2015

A simple custom tag

Defining a simple custom tag: To demonstrate the life cycle of a custom tag practically, I am creating a simple Tag class, its TLD file and a JSP page. This tag doesn’t do anything fancy, its purpose is just to let you understand how a custom tag works. Here is the Source code of the […]
Read Complete Post...

Tag Library Descriptor

Tag Library Descriptor: A Tag Library Descriptor (TLD) is a XML file crated by the tag programmer to associate custom tags to their Tag classes. With the help of a TLD file, a Tag programmer groups the logically related tags to a library. It is used by the Tag Processor to identify the Tag classes […]
Read Complete Post...

TagSupport class of Tag API

The TagSupport class: TagSupport is a helper class provided by Tag API. It implements IterationTag interface which is a sub interface of Tag. It is used as a super class by the custom tag classes. As an application programmer defines a Servlet by extending HttpServlet class similarly he/she can define a Tag by extending the […]
Read Complete Post...

Wednesday, November 18, 2015

Role of PageContext in custom tags

What is PageContext? PageContext is an interface of the JSP API. Implementation of it, is provided by server vendors. An object of type PageContext is created by the server for each request of a JSP page to store the references of the Servlet & JSP API objects which participate in the processing of the request. […]
Read Complete Post..

Tuesday, November 17, 2015

Tag life cycle methods

Tag life cycle: Tag life cycle describes how and when a tag object is created, initialized, and is used by the tag processor for processing a custom tag. Tag life cycle is defined by javax.servlet.jsp.tagext.Tag interface with the help of following methods: setPageContext(): It is the first method which is invoked by the tag processor […]
Read Complete Post...

Introduction to JSP Custom Tags

Introduction to JSP custom tags: Custom tags are application programmers’ defined actions which represent presentation logic as reusable components. The facility of defining custom tags makes the JSP extensible. To understand the use of custom tags, lets consider the following scenario. Let there be a web application in which 10 pages displays user data in […]
Read Complete Post...