This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
The moose likes Struts and the fly likes <result> tag in struts.xml Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "<result> tag in struts.xml" Watch "<result> tag in struts.xml" New topic

<result> tag in struts.xml

MaheshS Kumbhar
Ranch Hand

Joined: Sep 24, 2009
Posts: 188
I am a new learner of Struts2
What does it mean by
Here what does type attribute means?

I am slow but sure
Ankit Garg

Joined: Aug 03, 2008
Posts: 9405

The type defines the type of the result . Like redirectAction will redirect the browser to the result. The general dispatch result uses a server side request dispatcher to the result. You can get more info on results here and here...

SCJP 6 | SCWCD 5 | Javaranch SCJP FAQ | SCWCD Links
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: <result> tag in struts.xml
It's not a secret anymore!