1.

What Is The Purpose Of @result Annotation?

Answer»

The @result ANNOTATIONS have the name that correspond to the outcome of the execute method. They also contain a location as to which view should be SERVED CORRESPONDING to return VALUE from execute().

@Result(name="success", value="/success.jsp")

public CLASS Employee extends ActionSupport{

 ...

}

The @result annotations have the name that correspond to the outcome of the execute method. They also contain a location as to which view should be served corresponding to return value from execute().

@Result(name="success", value="/success.jsp")

public class Employee extends ActionSupport{

 ...

}



Discussion

No Comment Found