Java interview questions: – What are the predefined result types?

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

Result type Function
Chain Result Action Chaining
Dispatcher Result web resource integration,
including JSP integration
FreeMarker Result FreeMarker integration
HttpHeader Result control special HTTP behaviors
Redirect Result redirect to another URL (web resource)
Redirect Action Result redirect to another action mapping
Stream Result stream an InputStream back to the
browser (usually for file downloads)
Velocity Result Velocity integration
XSL Result XML/XSLT integration
PlainText display the raw content of a particular
page (i.e jsp, HTML)
Tiles Result provide Tiles integration

View the following video on Bean Tag with Struts 2 as follows: –

For more on Java interview questions, so click and visit.


Author’s more on Java interview questions


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s