UrbanPro

Learn Java Training from the Best Tutors

  • Affordable fees
  • 1-1 or Group class
  • Flexible Timings
  • Verified Tutors

Search in

1.What is Model Driven Interceptors is used for? 2.what is the purpose of using Action support??

Asked by Last Modified  

22 Answers

Learn Java

Follow 0
Answer

Please enter your answer

Java Trainer

Using ActionSupport class, we can implement Custom validation which validates at the server-side. We can write server side validation logic in validate() method.
Comments

1. The modelDriven interceptor makes other model object as the default object of valuestack. Bydefault, action object is the default object of valuestack. To use the modelDriven interceptor, you need to implement ModelDriven interface in your action class and override its method getModel(). It...
read more
1. The modelDriven interceptor makes other model object as the default object of valuestack. Bydefault, action object is the default object of valuestack. To use the modelDriven interceptor, you need to implement ModelDriven interface in your action class and override its method getModel(). It is found in the default stack bydefault. So you don't need to specify it explicitely. 2.It is a convenient class that implements many interfaces such as Action, Validateable, ValidationAware, TextProvider, LocaleProvider and Serializable . read less
Comments

ModelDriven actions and adds the action's model on to the value stack.
Comments

Java Trainer

An interceptor that enables scoped model-driven actions. This interceptor only activates on actions that implement the ScopedModelDriven interface. If detected, it will retrieve the model class from the configured scope, then provide it to the Action.
Comments

Software Professional Trainer with 26+ years of Experience in Software Design and Development

Model Driven Interceptor is used to inject the model object into Action ie Action's Value Stack so that Action can be able to use it.
Comments

Tutor

ModelDriven Interceptor is used to inject the model object into Action ie Action's Value Stack so that Action can be able to use it. Struts 2 provides the flexibility of defining the attributes and their setter/getter methods in Action class itself and outside the Action class like java bean. To set...
read more
ModelDriven Interceptor is used to inject the model object into Action ie Action's Value Stack so that Action can be able to use it. Struts 2 provides the flexibility of defining the attributes and their setter/getter methods in Action class itself and outside the Action class like java bean. To set the attributes to the field of some other bean object, Action class must implement ModelDriven interface and Model-Driven Interceptor must be applied to that Action class. read less
Comments

Computer

Main use of web services is re usability of peace of code or application in any platform, means if you develop any application in any language like java C# on any OS you can use that application when you expose it as webservice. Web services enable to quickly integrate applications across multiple...
read more
Main use of web services is re usability of peace of code or application in any platform, means if you develop any application in any language like java C# on any OS you can use that application when you expose it as webservice. Web services enable to quickly integrate applications across multiple platforms, systems and even across businesses. Emerging web services standards such as SOAP, WSDL and UDDI will enable system-to-system communication that is easier and cheaper than ever before. The basic Web services platform is XML + HTTP. All the standard Web Services works using following components SOAP (Simple Object Access Protocol) UDDI (Universal Description, Discovery and Integration) WSDL (Web Services Description Language) read less
Comments

Bank PO Teacher

Hi, U can get the related information of your question from the following link: http://www.javatpoint.com/struts-2-modeldriven-interceptor-example This should give u valuable information.
Comments

Computer

If an Action implements the ModelDriven interface, extra ability to transfer the form data into the object automatically. Model Driven view use in MVC Model class contains the business logic i.e application logic. we will give this class means we will configure in xml files .frame work will run...
read more
If an Action implements the ModelDriven interface, extra ability to transfer the form data into the object automatically. Model Driven view use in MVC Model class contains the business logic i.e application logic. we will give this class means we will configure in xml files .frame work will run our app logic instead of creating model objects by developer FW creates . application develop ment makes faster. check the in any example in struts. It is a convenient class that implements many interfaces such as Action, Validateable, ValidationAware, TextProvider, LocaleProvider and Serializable . So it is mostly used instead of Action. read less
Comments

Master

Action Support class provides ready to use functionality of validation framework.
Comments

View 20 more Answers

Related Questions

Is java a frontend or a middleware technology or both?
It's a programming language which is used to write application programs and is independent of platform.
Neha
0 0
5
Is learning Java worthwhile?
Yes, learning Java can be worthwhile as it is widely used in various industries, including web development, mobile app development, and enterprise applications.
Shantanu
0 0
5
How do people become Java programmers?
Before you become a Java programmer, it's important that you earn an education and learn how to code using Java. While some programmers learn how to use Java on their own, you can learn it much faster...
Rishav
0 0
5
Why does â??5/2 = 2â?? and not 2.5 in Python?
Due to dynamic Typing. use Numpy , and declare data type , you will get desired result
Srikanth
0 0
6

Now ask question in any of the 1000+ Categories, and get Answers from Tutors and Trainers on UrbanPro.com

Ask a Question

Related Lessons

What Is Applet & Its Life Cycle?
What is Applet & its life cycle?Applet is a Java programme that can be embedded into HTML page.Java Applet runs on the java enables web browsers such as Mozilla & Internet Explorer.Applets are...
I

ICreative Solution

0 0
0

Use of Service Locator Pattern
If we want to reuse the java code that should be the best approach w.r.t re-usability, maintanence and saving time to concentrate on our own businbess logic/requirement. In the similar approach many patterns...
M

Constructor in Java
A constructor is a particular type of method that is used to initialise the object. The constructor is invoked at the time of object creation. It constructs the values, i.e. provides data for the object...

Introduction to Programming Languages
What is a Programming Language? A programming language is a formal computer language or constructed language designed to communicate instructions to a machine, particularly a computer. Programming languages...

Recommended Articles

Designed in a flexible and user-friendly demeanor, Java is the most commonly used programming language for the creation of web applications and platform. It allows developers to “write once, run anywhere” (WORA). It is general-purpose, a high-level programming language developed by Sun Microsystem. Initially known as an...

Read full article >

Java is the most famous programming language till date. 20 years is a big time for any programming language to survive and gain strength. Java has been proved to be one of the most reliable programming languages for networked computers. source:techcentral.com Java was developed to pertain over the Internet. Over...

Read full article >

Before we start on the importance of learning JavaScript, let’s start with a short introduction on the topic. JavaScript is the most popular programming language in the world, precisely it is the language - for Computers, the Web, Servers, Smart Phone, Laptops, Mobiles, Tablets and more. And if you are a beginner or planning...

Read full article >

Java is the most commonly used popular programming language for the creation of web applications and platform today. Integrated Cloud Applications and Platform Services Oracle says, “Java developers worldwide has over 9 million and runs approximately 3 billion mobile phones”.  Right from its first implication as java 1.0...

Read full article >

Looking for Java Training Classes?

Learn from the Best Tutors on UrbanPro

Are you a Tutor or Training Institute?

Join UrbanPro Today to find students near you
X

Looking for Java Training Classes?

The best tutors for Java Training Classes are on UrbanPro

  • Select the best Tutor
  • Book & Attend a Free Demo
  • Pay and start Learning

Learn Java Training with the Best Tutors

The best Tutors for Java Training Classes are on UrbanPro

This website uses cookies

We use cookies to improve user experience. Choose what cookies you allow us to use. You can read more about our Cookie Policy in our Privacy Policy

Accept All
Decline All

UrbanPro.com is India's largest network of most trusted tutors and institutes. Over 55 lakh students rely on UrbanPro.com, to fulfill their learning requirements across 1,000+ categories. Using UrbanPro.com, parents, and students can compare multiple Tutors and Institutes and choose the one that best suits their requirements. More than 7.5 lakh verified Tutors and Institutes are helping millions of students every day and growing their tutoring business on UrbanPro.com. Whether you are looking for a tutor to learn mathematics, a German language trainer to brush up your German language skills or an institute to upgrade your IT skills, we have got the best selection of Tutors and Training Institutes for you. Read more