JSP Redirection from a Servlet.

Hello Friends,

This tutorial is regarding the jsp redirection from a Servlet to a another jsp page. Most of you may need to redirect the user to a jsp page being on the servlet page. This tutorial will help you. There are two ways to achieve this, we will discuss them both.

Continue reading “JSP Redirection from a Servlet.”

Servlet program using Eclipse IDE.

Hello Friends,

This tutorial is regarding development of Servlet program using Eclipse IDE. Eclipse IDE is very popularly used for development of various web based and java applications. Servlet applications are very easily developed using the eclipse IDE. Following are the simple steps for the same.

Step 1) Open the Eclipse IDE and set the Perspective to Java EE (if not set by default). Continue reading “Servlet program using Eclipse IDE.”

Hiding the wiki rendered customfield using javascript in JIRA 4.3.+

Hello Friends,

This is one of the tutorials under jira development. There may be requirement when you need to use the wiki rendered custom field instead of Free Text rendered field. Also, sometimes you may need such fields to be shown only when certail criteria are matched. So in this case you need to hide those fields by default so that the normal user cannot view or edit the field. This tutorial demonstrates how the field can be hidden from the screen. Continue reading “Hiding the wiki rendered customfield using javascript in JIRA 4.3.+”

Life Cycle of the Servlet.

Hello Friends,

This is one of my tutorials on Servlet. As we all know, servlets are managed by the web container and among the various responsibilities of the container, life cycle of servlet is the most important one. The life cycle defines that how the servlet is loaded, instantiated and initialized, how it handles requests from clients and how it is taken out of service. The servlet’s life cycle methods are defined in the javax.servlet.Servlet interface which is implemented by every Servlet class by extending the abstract classes – “GenericServlet or HttpServlet”. Continue reading “Life Cycle of the Servlet.”

Introduction to Java Servlets.

Hello Friends,

This is my first tutorial on the Java Servlets. This will be helpful for all the newbie who wants to learn the advance java programming. This is the first and basic step to enter the java enterprise environment. In this tutorial we will be focusing on what actually are servlets, what are its advantages some simple things related to Servlets. Continue reading “Introduction to Java Servlets.”

Adding Custom Tabs in Jira.

Hello Friends,

This is one of my tutorials regarding the enhancement in the Jira application. There are limited number to tabs in the Jira Application, but what if we need to add or change the tabs in the application. Its really very simpl, we need to add a short snippet in the existing code of Jira. Continue reading “Adding Custom Tabs in Jira.”

Iterating Collections and Arrays

Hello Friends,

This is one of tutorials regarding the iterating Collections and Arrays. There are two ways of iterating the elements in the Collections or Arrays. One of the method is using the Iterator and another is using the advanced for loop or foreach statement.  Iterator are used instead of Enumeration in Java and are used to iterate the elements in particular collection. Iterator is mostly used with the collection framework. Whereas advance for loop, introduced in JDK ver. 5, is used with collections and Arrays. It is the enhancement in the for statements, it does not include any type of counters as that of simple for loop. Continue reading “Iterating Collections and Arrays”