Starter Tutorials Blog
Tutorials and articles related to programming, computer science, technology and others.
Subscribe to Startertutorials.com's YouTube channel for different tutorial and lecture videos.
Home » Programming » Advanced Java

Program to demonstrate java struts validation

Suryateja Pericherla Categories: Struts. No Comments on Program to demonstrate java struts validation

Aim Write a program to demonstrate struts validation.   Theory Struts Validation We can define our own validation logic (custom validation) in struts 2 by implementing the Validateable interface in the action class. The workflow interceptor is used to get information about the error messages defined in the action class.   The workflow interceptor checks […]

Read the rest of this entry »

Program to implement java struts application

Suryateja Pericherla Categories: Struts. No Comments on Program to implement java struts application

Aim Write a program to implement struts application.   Theory Struts 2 Framework The Struts 2 framework is used to develop MVC (Model View Controller) based web applications. The Struts 2 provides supports to POJO based actions, Validation Support, AJAX Support, Integration support to various frameworks such as Hibernate, Spring, Tiles etc.   The important […]

Read the rest of this entry »

Create a JSP page to demonstrate JavaBean and implement usebean tag

Suryateja Pericherla Categories: JSP. No Comments on Create a JSP page to demonstrate JavaBean and implement usebean tag

Aim Create a JSP page to demonstrate JavaBean and implement usebean tag.   Theory JavaBeans A Java Bean is a platform-independent component that allows us to reuse the class object in our Java code. Using JavaBeans in the Java program allows us to encapsulate many objects into a single object called a bean. There are […]

Read the rest of this entry »

Java program to implement a Client Server application using RMI

Suryateja Pericherla Categories: Networking. No Comments on Java program to implement a Client Server application using RMI

Aim Write a java program to implement a Client/Server application using RMI.   Theory Remote Method Invocation (RMI) The RMI is an API that provides a mechanism to create distributed application in java. The RMI allows an object to invoke methods on an object running in another JVM. The RMI provides remote communication between the […]

Read the rest of this entry »

Java program to convert an image in RGB to a grayscale image

Suryateja Pericherla Categories: Graphics. No Comments on Java program to convert an image in RGB to a grayscale image

Aim Write a java program to convert an image in RGB to a grayscale image.   Theory Color Models Representing colors as numerical values is a necessary step in many applications. To do this, we use models that are mathematical models that describe ways of mapping colors to a set of numbers. Usually, a color […]

Read the rest of this entry »

Create a JSP page to request implicit object

Suryateja Pericherla Categories: JSP. No Comments on Create a JSP page to request implicit object

Aim Create a JSP page to request implicit object.   Theory There are 9 JSP implicit objects. These objects are created by the web container that are available to all the jsp pages.   The available implicit objects are as given below: Object Type out JSPWriter request HttpServletRequest response HttpServletResponse config ServletConfig application ServletContext session […]

Read the rest of this entry »

Create a JSP page to demonstrate jsp forward action tag

Suryateja Pericherla Categories: JSP. No Comments on Create a JSP page to demonstrate jsp forward action tag

Aim Create a JSP page to demonstrate jsp:forward action tag.   Theory JSP JSP is one of the most used server-based technologies, it separates business logic from the presentation layer of any project. JSP (Jakarta Server Pages, formerly called Java Server Pages) is a technology that is used to develop different interactive Web pages, web […]

Read the rest of this entry »

Java program to create a form and validate password using servlet

Suryateja Pericherla Categories: Servlets. No Comments on Java program to create a form and validate password using servlet

AIM Write a java program to create a form and validate password using servlet.   Theory The <form> tags in HTML can be used to create a login form. The <input> tag with type set to text can be used to create a text field and <input> tag with type set to password can be […]

Read the rest of this entry »

Java program to create a Servlet for counting the number of times a servlet page is accessed

Suryateja Pericherla Categories: Servlets. No Comments on Java program to create a Servlet for counting the number of times a servlet page is accessed

Aim Write a java program to create a Servlet for counting the number of times a servlet page is accessed.   Theory Session Object Session object allows the user to store session data on the server-side. This may be a burden on the server if the application is accessed by large number of users. Servlet […]

Read the rest of this entry »
Facebook
Twitter
Pinterest
Youtube
Instagram
Blogarama - Blog Directory