Java interview questions: - Predefined result in struts.

47 0 0
                                        

In Struts 2 there are certain pre-defined result types which along with its function are explained as below.

Result type

Chain Result         

Dispatcher Result

FreeMarker Result

HttpHeader Result

Redirect Result     

Redirect Action Result

Stream Result       

Velocity Result

XSL Result

PlainText

Tiles Result

Function

Action Chaining

web resource integration,

 including JSP integration

FreeMarker integration

control special HTTP behaviors

redirect to another URL (web resource)

redirect to another action mapping

stream an InputStream back to the

browser (usually for file downloads)

Velocity integration

XML/XSLT integration

display the raw content of a particular

page (i.e jsp, HTML)

provide Tiles integration

View the video on Bean Tag with Struts 2 at rightside: -

Java interview questions: - Predefined result in struts.Where stories live. Discover now