Home Tutorialhelp Comment I'm confused with the answer action class is part

 
 

Comment

abhilash
I'm confused with the answer action class is part,
November 27, 2006 at 4:24 PM

I'm confused with the answer action class is part of controller , because I have seen in some other sites that action is a wrapper around model


http://www.allapplabs.com/interview_questions/struts_interview_questions.htm#q5
View All Comments
Advertisement
Related Tutorial and Articles
Struts Questions

What is Action Class?
What is Action Class?  What is Action Class? Explain with Example 

Java Beginners

I'm getting an illgal start of expression error in my code for the public static boolean portion at the bottom... any ideas?
I'm getting an illgal start of expression error in my code for the public... java.util.Scanner; import java.util.Random; public class numberGame...) { char userAns2 = 'y'; //Compare to Yes or No answer from user 

Struts Questions

Struts Action Class
Struts Action Class  What happens if we do not write execute() in Action class 

Struts Questions

Login Action Class - Struts
Login Action Class  Hi Any one can you please give me example of Struts How Login Action Class Communicate with i-batis 

Struts Questions

DTO & Action class - Struts
DTO & Action class  Hi I am really new to struts2. I just wanted to know that if I have a DTO and an action class, how do I put the form data into the DTO? Can someone please explain with a simple example 

Java Beginners

attribute in action tag - Java Beginners
attribute in action tag  I'm just a beginner to struts. The name tag(name="bookListForm") is used to define the form used with the action class. But i`m not clear about the attribute tag(attribute 

Java Beginners

give answer
give answer  . Which of the following will he use to compile the KeyTest class successfully 

Struts Questions

getting db in action class
getting db in action class  hi, Am usin struts in ma application... n i need to interact with the db .. so i used.. getDataSource(request) but it gives me an error.. java.lang.NoSuchMethodError: LoginAction.getDataSource(Ljavax 

Ajax Questions

my answer
*/ public class view extends HttpServlet { private ServletResponse 

JSP Servlet Questions

why i'm getting this error?The import javax.servlet.http cannot be resolved
why i'm getting this error?The import javax.servlet.http cannot be resolved  hey buddy's i had one problem in servlet in jsp program. Exactly i'm getting this error, why i'm getting this error and how to solve this error., Have 

Struts Questions

Is Multiple Actions in Action class - Struts
Is Multiple Actions in Action class  In ActionClass we can use only one action i.e execute(), but in DispatchAction we can use multiple actions.My question is , we can use multiple actions in Action class if(action.equals("add 

Struts Questions

autocall for sturts action class - Struts
in the server on action class should run automatically. how can I do this. help me...autocall for sturts action class  Hi All, We are developing a web application with struts frame work. In this project I have to call an action 

Struts 2 Tutorials

Create Action class
Create Action Class An action is an important portion of web application... an action class you need to extend or import the Action classes or interface... package. The commonly used action class is ActionSupport. An example of action 

Struts Questions

Action and ActionSupport
Action and ActionSupport  Difference between Action and ActionSupport.... The developer implements this interface of accessing string field in action methods. The com.opensymphony.xwork2.ActionSupport is class . It is used 

Java Beginners

pls answer these question
pls answer these question  Write a program that prompts the user to input the length and width of a rectangle. Then calculate and prints the rectangle‚??s area and perimeter.   import java.io.*; class rectangle 

Java Beginners

Action Listeners
Action Listeners  Please, could someone help me with how to use action listeners I am creating a gui with four buttons. I will like to know how to apply the action listener to these four buttons.   Hello Friend, Try 

Java Beginners

Is the answer 35, 35?
Is the answer 35, 35?  int a = 5; int b = 7; int num = 35; while (a < b) { System.out.println(?My age is ? + num); a = a + 1; }   Hello Friend, class Check{ public static void main(String[] args 

Struts-Tutorials

Understanding Struts Action Class
Understanding Struts Action Class   ... Class and forward a jsp file through it.  What is Action Class? An Action..." Class. Action class acts as wrapper around the business logic and provides 

JSP Servlet Questions

part of AES code in JSP
part of AES code in JSP  org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred at line: 19 in the jsp file...: cannot find symbol symbol : method nextline() location: class java.util.Scanner 

Struts and Hibernate Integration Tutorial

Developing Login Action Class
Developing Login Action Class   ... for login action class and database code for validating the user against database.   Developing Login Action Class   In any application 

Programming Tutorials

Forgot Password Action,Struts Forgot Password Action class
Forgot Password Action       Forgot Password Action The password forgot Action is invoked... password action requires user name and passwords same as you had entered during 

Java Beginners

GIVE ME A ANSWER
GIVE ME A ANSWER  Discuss the Number Class in the java.lang package   Number class is an abstract class extended by all classes..., and Double. The class contains abstract methods that convert the object value to any 

Java Interview Questions

plz give me answer
plz give me answer   description about string class methods   Java string methods 

Java Server Faces Questions

plz give me answer
plz give me answer   description about string class methods   Java string methods 

Java Server Faces Questions

plz give me answer
plz give me answer   description about string class methods   Java string methods 

Java Beginners

answer me this program
answer me this program  Java Code to Maintain student record,Name, Age, Marks of 5 subjects for a Student,Display Student age and name,Calculate... java.util.*; public class StudentExample{ String name; int age; int sub1; int sub2; int 

Java Beginners

answer me this program
answer me this program  Java Code to Maintain student record,Name, Age, Marks of 5 subjects for a Student,Display Student age and name,Calculate... java.util.*; public class StudentExample{ String name; int age; int sub1; int sub2; int 

Java Interview Questions

plz give me answer
plz give me answer  Discuss & Give brief description about string class methods   Java string methods 

Java Beginners

to know my answer
to know my answer  hi, this is pinki, i can't solve my question "how to change rupee to dollar,pound and viceversa using wrapper class in java." will u help me 

Java Beginners

Plz answer - Java Beginners
Plz answer  Create a Java Bean Class ‚?? Customer according to the below given class diagram. Customer...; public class Test { private int customerId; private String 

Java Beginners

javascript call action class method instruts
javascript call action class method instruts  in struts2 onchange event call a method in Actionclass with selected value as parameter how can i do 

Java Beginners

plz answer - Java Beginners
*; class BinarySearchExample{ public static void main(String[] args){ int 

Struts Questions

Two forms submission to one Action Class in Struts2.0
Two forms submission to one Action Class in Struts2.0  Hi, I have two forms.I want to submit two forms with only one submit button to the same action, same method. How can i get this. Please reply me 

JSP Servlet Questions

Please answer me - JSP-Servlet
Please answer me  Hello Guys, this is the third time I'm sending this question. But I've not got the right answer from you. The again is: I need java servlet or jsp codes that I can use to insert and retrieve image from MSSQL 

Regex Questions

answer
 

Srping 2.5

Spring Framework Part III
B.E.,       PART-III...' implementation class: 'DriverManagerDataSource'. This class can be easily.... Template manages the fixed part of our framework like data connection, managing 

Programming Tutorials

Standard Action "jsp:plugin"
Standard Action <jsp:plugin> In this Section, we will discuss about standard action "jsp:plugin" & their implementation using a example. The <jsp:plugin> action is use to download a plugin (an Applet or a Bean 

Struts Questions

download file Error in struts2 action class
download file Error in struts2 action class  Hi, i am using bellow block of code for download file : public void downloadGreeting(String filename,HttpServletRequest request, HttpServletResponse response){ String 

Struts 2 Tutorials

Struts2.2.1 Action Tag Example
class directly from a JSP page. We can call action directly by specifying...;action name="ActionTag" class="roseindia.ActionTag...;/package> </struts> The action class ActionTag.java is as follows 

JDBC Questions

Confused in driver - JDBC
Confused in driver  I am confused about the concept Driver in JDBC. Although i know jdbc very well(in respect... mean to say theoretically it is not cleared please explain me the type of driver... of some picture i want o know 

Struts Questions

Action classes in struts
Action classes in struts  how many type action classes are there in struts   Hi Friend, There are 8 types of Action classes: 1.ForwardAction class 2.DispatchAction class 3.IncludeAction class 4.LookUpDispatchAction 

Java Beginners

i cNT GET ANSWER FOR THIS QUESTION
i cNT GET ANSWER FOR THIS QUESTION  The roots of the quadratic equation ax2+bx+c=0, a√Į‚??¬Ļ0 are given by the following formula: x=(-b√.... (Hint: Use the method pow or sqrt from the class Math to calculate the square 

Development process Questions

Action Or DispatchAction - Development process
Action Or DispatchAction   Hi, Action class has execute() only where as dispatchaction class has multiple methods. plz tell me when to use action and dispatchaction.can we use multiple actions in Action class. Thanks Prakash 

Struts Questions

action tag - Struts
action tag  Is possible to add parameters to a struts 2 action tag? And how can I get them in an Action Class. I mean: xx.jsp Thank you 

Java Beginners

arrays part 2 - Java Beginners
arrays part 2  Question 2: Useful Array Algorithms and Operations (5 marks) Upgrade the program in Question 1 so that the program includes... java.util.*; public class ArrayExamples{ public static int[] readIntegers 

JavaScript Questions

I'm using struts2,i'm asking about the radio button validation <s:radio>
I'm using struts2,i'm asking about the radio button validation   my form < s: form action="creatingcv" method="post" onsubmit="return valider()" id="frmSaisie"> < s:radio name="cv.gender" label="Gender" list="{'Male 

Java Beginners

What is the answer and how the program work?
What is the answer and how the program work?  public class Threads2 implements Runnable { public void run() { System.out.println("run."); throw... 21 22 23 24 25 26package com.kota.core; public class Exp1 implements 

General

The Beginners Guide to JAXB part 3
*; import java.io.*; import generated.*; class lesson { public static void... descriptive names in this release. samples/bind-choice (formerly part...) This sample application demonstrates how to use the ObjectFactory class to create 

JDBC Questions

hi, Everyone ,i'm learning jdbc, i got an nullpointerexception when execute this program.
hi, Everyone ,i'm learning jdbc, i got an nullpointerexception when execute... java.io.*; import java.sql.*; class ConnectionProvider { static Properties prop... { Class.forName(prop.getProperty("driver class")); con=DriverManager.getConnection 

Struts Questions

How to validate a form in action class and forward errors to the jsp in struts?
How to validate a form in action class and forward errors to the jsp in struts?  How to validate a form in action class and forward errors to the jsp in struts 

General

Simple java program
confused on how to write this program it would be a great help i could be helped. For the part 1 i got it but the second part how do you start writing that program. plz do help me out here. Part I Write a program 

Java Server Faces Questions

confused about an error in my web application deploying to Tomcat - Java Server Faces Questions
confused about an error in my web application deploying to Tomcat  ... Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class Jul... of class com.sun.faces.config.ConfigureListener 

Java Server Faces

JSF Tutorial for Beginners
;  JAVA SERVER FACES ( not to be confused with JSP..JAVA SERVER PAGES... features like 'Intelli-sense', class browser etc.Similarly, while a considerable... the Controller servlet and respective action classes. It separates the view 

Struts Questions

servlet action not available - Struts
:: action class:: package org.students; import...servlet action not available  hi i am new to struts and i am getting the error "servlet action not available".why it is displaying this error 

Struts Questions

How can i pass the valus from a JSP to the action class???
How can i pass the valus from a JSP to the action class???  hewllo wevryone... can anyone help me with how i can pass the value of menuId in my JSP and pass it in the action class 

Struts 2 Tutorials

Struts 2 Action Tag
Struts 2 Action Tag "action" Tag in Struts 2 is used by developer to call action class from a JSP page. For calling the action class, developer must assign action name. Struts 2 Action Tag is one of the Data Tags, which are used 

Struts Questions

Sending error code to access log of tomcat server from Action class
Sending error code to access log of tomcat server from Action class  How to send an error code (500) to access log file when we get null value in an if condition in Action class? Is anyone aware of this! Thanks 

Swing AWT

How to close a frame on action event of a button from a different class ?
How to close a frame on action event of a button from a different class ?  How to close a frame on action event of a button from a different class ? I have a designed a control-frame on 1 class which has jbutton components, I 

Programming Tutorials

String Class in Action Script3
.style1 { font-size: medium; } String Class in Action Script3:- String class is a data type. String class provides methods for access... types of String class objects. String class have different types of constructors 

Struts Questions

No action instance for path
. * */ public class StrutsUploadAndSaveAction extends Action...No action instance for path  <%@ taglib uri="http...; <body bgcolor="white"> <html:form action="/FileUploadAndSave 

Struts Questions

WRITE A CODE IN STRUTS ACTION CLASS FOR CHECK BOXES AND RADIO BUTTONS - Struts
WRITE A CODE IN STRUTS ACTION CLASS FOR CHECK BOXES AND RADIO BUTTONS  Hello frnds, I am sending this second time help me out. i need help from u esteemed and talented people.iwould like to write code in struts action class 

Java Beginners

please i want someone to answer me pleeeeeeeeeeeeease...
please i want someone to answer me pleeeeeeeeeeeeease...    Write a JAVA program using 2D array to auto-grade exams. For a class of N students, your... percentage (out of 100%) of each student, and also the class average. Define the exam 

Hibernate Tutorial Example

User Registration Action Class and DAO code
User Registration Action Class and DAO code... to write code for action class and code for performing database operations (saving data into database). Developing Action Class The Action Class 

Java Beginners

how the answer is 13 can anyone explain plz
how the answer is 13 can anyone explain plz  public class that { public static void main(String arr[]) { int i=3; int j=1; while(i<4) { //j=i; i=i+j/2; } System.out.println(i 

Flex 3

Action Script custom components
Flex Custom Components using Action Script:- You can create custom components by define Action Script class. User can create two type of custom components.... The process is that you will create a subclass of the Action Script 

Struts Questions

Sending large data to Action Class error. Struts code - Struts
Sending large data to Action Class error. Struts code  I have a jsp...);} and in action class i want to get the value of variable 'val'.But since this is large string value so it is not passed to action class. So please help me 

Struts 2 Tutorials

Writing action classes in struts2.2.1
Writing action classes Action Classes AdmissionAction.java-  It action class for admission process. It takes data from admission form and process... com.opensymphony.xwork2.ActionSupport; import com.opensymphony.xwork2.ModelDriven; public class 

JavaScript Questions

form validate and perfom action immediatly
form validate and perfom action immediatly  This is ok, but what i'm looking for is whenever a user input different data his input has to validate and immediately he needs to redirect to a particular webpage based on the input 

Programming Tutorials

Date Class In Action Script
.style1 { font-size: medium; } Date Class in Action Script 3:- If user... class that provide date and time related information. User access the current... class in the application. The Date class is the top-label class that provide 

Struts Questions

How to pass Array of string from action class to jsp page
How to pass Array of string from action class to jsp page  this is my action class package login.ipm; import java.sql.*; import java.util.ArrayList... class DiagservicesAction extends org.apache.struts.action.Action { private static 

Java Beginners

Java experts.Please answer this question - Java Beginners
Java experts.Please answer this question  class A { void get() { System.out.println("A's method"); } } class C extends A{} class D extends A { void set() { System.out.println("D's method"); } } class ins { public 

Struts Questions

Struts 2 action-validation.xml not loading
-validation.xml is package/src/class name/action-validation.xml Could you please let me...Struts 2 action-validation.xml not loading  Hi All, I am getting... error SERVER : Caught exception while loading file package/action-validation.xml 

Java Beginners

Clarify my last question's answer - Java Beginners
Clarify my last question's answer  Dear expert, I've tried out many times your solution but I'm not sure why it is not working. And I do not see how your solution is giving me the matching that I hope to do. Netbean Ide 

Java Beginners

plz. answer my ques - Java Beginners
plz. answer my ques  I want to ask a prog. prob which would create a prog that would simply take username and password as input and will display... javax.servlet.http.*; public class Validation extends HttpServlet{ private ServletConfig 

Java Beginners

HTML Action attribute - Java Beginners
In action Attribute I want to give emp_event.java class. But When I run I am...HTML Action attribute  I have folder structure like... are calling servlet from action tag,then you need to import the package 

Java Interview Questions

from a list of options perform a desired action is referred as
from a list of options perform a desired action is referred as  ... a desired action is referred as - Menu Index Directory All of these None of these   Answer:2. Index   Answer:2. Index 

Struts 2 Tutorials

Chain Action Result Example
; </action> <action name="doLogin" class="...Chain Action Example Struts2.2.1 provides the feature to chain many actions... in an application by applying Chain Result to a action. A Chain Result is an result type 

Hibernate Tutorial Example

Hibernate 3 Query Example Part 2
Hibernate 3 Query Example Part 2       Hibernate 3 Query Example Part 2 This tutorial ...; method="POST"   action="searcharticle.html" 

Java Beginners

java swing-action on checkbox selection
java swing-action on checkbox selection  I am working in netbeans... need the action preformance of check box...could nybody?....if could...!thanks... javax.swing.event.*; public class CheckBoxAction { private static String des 

HTML Questions

radio button value on edit action
...Problem 'm facing is on edit action 'm not retrieving radio button value..i have...; </head> <body class="body" onload="payment_hide();">...; out.println("<form name='edit_customer' method='post' action='edit_form 

Struts 2 Tutorials

Introduction to Action interface
Introduction To Struts Action Interface The Action interface contains the a single method execute(). The business logic of the action is executed within this method. This method is implemented by the derived class. For example 

Development process Questions

how to forward select query result to jsp page using struts action class
how to forward select query result to jsp page using struts action class  how to forward select query result to jsp page using struts action class 

Struts 2 Tutorials

Redirect Action Result Example
; as follows <action name="redirectAction" class="...;/result> </action> <action name="doLogin" class="...Redirect Action Result Example The Result uses the ActionMapper 

Struts 2 Tutorials

Action Tag (Data Tag) Example
;/action> Create an action class as shown below: actionTag.java... Action Tag (Data Tag) Example       In this section, we are going to describe the action tag. The action tag is a generic 

Struts Questions

how to pass string array from action class to jsp page? pls reply me.
how to pass string array from action class to jsp page? pls reply me.  how to pass string array from action class to jsp page? pls reply me.  .... In your action class, String[] arr = {"A","B","C","D"}; for (int x = 0; x < arr 

Struts Questions

need help for writting code in struts action class for check boxes and radio buttons - Struts
need help for writting code in struts action class for check boxes and radio buttons  Hello frnds, i need help from u esteemed and talented people.iwould like to write code in struts action class for check boxes and radio 

Java Beginners

answer it soon
answer it soon  write a proggram to accept a number and check whether the sum of prime factors of a number is a prime number 

Ant Questions

Medicare Part A
Medicare Part A  unbiased solution for comparing and enrolling in Medicare Advantage, Medicare Supplement and Prescription Drug Plans 

Struts Examples

Struts Dispatch Action Example
class enables a user to collect related functions into a single Action... class. An Action Mapping is done to select the particular method (via ...). Here is the code for Action Class. Developing an Action Class 

Struts Questions

Pass value of rasio button from jsp page to action class(not conventional problem)
Pass value of rasio button from jsp page to action class(not conventional... in action class using getter setter and hence corresponding data can be deleted. i...; </table> <s:submit value="Delete" action="deleteSchedule 

Java Interview Questions

abstract class
abstract class  abstract class AbstractClass{ } is possible and compile the class or any compile time error occur tell me the answer Blockquote 

Struts 2 Tutorials

Example of ActionSupport class
;action name="actionSupport" class="...Example of ActionSupport class Struts ActionSupport class provides the default... automatically when action is called. This is default implemented method subclasses 

Java Interview Questions

What happens to the static fields of a class during serialization?
static fields, because they are not part of any particular state. Base class...What happens to the static fields of a class during serialization?   What happens to the static fields of a class during serialization?    

Java Beginners

java.please answer this...
java.please answer this...   Q1).How we can write a complete JAVA program that computes the following summation formulas..? ‚??_(i=1)^n‚??„??i^2=„?? (n^(2 ) „??(n+1)„??^2)/4 

Java Beginners

PLZ Need some help on the 2nd part of this question...Someone please help !!!!
PLZ Need some help on the 2nd part of this question...Someone please help...; class FastFood { public static double check1 = 0.0; public static double...; return 0.75; } else return 0; } } public class 

JDO Tutorials

JDO UNPLUGGED - PART 1
JDO UNPLUGGED - PART I ---------------- by Farihah Noushene..., querying and retrieval of objects from the data stores. The collection of all class... called 'Class Enhancement'. Each persitent class must be enhanced so that it can 

JDO Tutorials

JDO UNPLUGGED - PART II
JDO UNPLUGGED - PART II ------------------------ by Farihah Noushene...' property is used to specify the name of the implementation's class that implements... javax.jdo.*; public class jdocreatedb { public static void main(String args 

Java Server Faces Questions

action for dropdown box - Java Server Faces Questions
action for dropdown box  Hi friends, Does anyone have the code..." on select the country. "You add the code in the form part" "You add the code in the beanclass part" List countryList= new 

Struts 2 Tutorials

Struts 2 Redirect Action
;/html> Step 3 : Create an Action class. Login.java package ...Struts 2 Redirect Action       In this section, you will get familiar with struts 2 Redirect action 

Java Beginners

hello sir, please give me answer - Java Beginners
program:File name :count.java---------------------import java.io.*;class count...(counter); } }}System is the main class for input from the system resources.So... to the constructor for InputStreamReader class. InputStreamReader' object is used as a parameter 

Advertisements Advertisements
 

 

 

DMCA.com