- Perform method is the method which was deprecated in the Struts Version 1.1.
- In Struts 1.x, Action.perform() is the method called by the ActionServlet. This is typically where your business logic resides, or at least the flow control to your JavaBeans and EJBs that handle your business logic.
- As we already mentioned, to support declarative exception handling, the method signature changed in perform.
- Now execute just throws Exception. Action.perform() is now deprecated;
- however, the Struts v1.1 ActionServlet is smart enough to know whether or not it should call perform or execute in the Action, depending on which one is available.
Advertisement
Filed under: Struts
what is the difference between struts1.1 and struts 1.2.9?
how to cast uti.date to sql.date?
what is the difference between struts1.2 and struts 1.3?
what is the difference between struts1.1 and struts 1.2
In which condition we will use more than on struts-config.xml
and differ between struts 1.0 and 1.1and .2
can u solve the problem
class A
{
……
int i=10;
……
}
class B extends A
{
……
int i=20;
public void m1()
{
i=30;
System.out.println(” Value of Super class var i:::” +______);
System.out.println(” Value of Sub class var i:::” +___________);
System.out.println(” Value of Sub class var i after re-initialization ::::” ________);
}
how can i print all these three values?
third blank u will place directly super.i.
second blank u will place this.i.
first blank u will place i.
what is the difference between struts 1.2 & struts 1.3
very interesting, but I don’t agree with you
Idetrorce
class A
{
……
int i=10;
……
}
class B extends A
{
……
int i=20;
public void m1()
{
i=30;
System.out.println(” Value of Super class var i:::” +super.i);
System.out.println(” Value of Sub class var i:::” +new B().i);
System.out.println(” Value of Sub class var i after re-initialization ::::” +i);
}