File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes Struts2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts2 " Watch "Struts2 " New topic


debraj mallick
Ranch Hand

Joined: Mar 08, 2011
Posts: 188


I have use this in Struts1, I need to know how can i do this in Struts2,
any help would be appreciable.
Joe Ess

Joined: Oct 29, 2001
Posts: 9190

We don't have ActionForward's in Struts 2, so there's no reason to query the mapping. All Struts 2 actions return String instances which correspond directly to the entries in the configuration XML.
Struts 2 is very different from Struts 1 so you should have a look at our Struts 2 FAQ and read some of the tutorials.

[How To Ask Questions On JavaRanch]
debraj mallick
Ranch Hand

Joined: Mar 08, 2011
Posts: 188

Hi Joe,

thank you for extending me a very good suggestion that helps me a lot.
I agree. Here's the link:
subject: Struts2
It's not a secret anymore!