PrasannaKumar maddu

Greenhorn
+ Follow
since Sep 19, 2012
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by PrasannaKumar maddu

By overriding Comparator OR Comparable interfaces methods you can achieve sorting your collection.Google the interfaces.
11 years ago
I achieved it in the following way
I called Struts 2 Action From Struts 1 Using the following code. Its working fine.

Step1:
In web.xml add modify the strut2 filter mapping like in the following way:
<filter-mapping>
<filter-name>struts2</filter-name>
<url-pattern>*.action</url-pattern>
<dispatcher>REQUEST</dispatcher>
<dispatcher>FORWARD</dispatcher>
</filter-mapping>

Step2:
Add the following code in side the struts-config.xml:(To forward action)
<action path="/helloWorldTwo" type="com.mkyong.common.action.HelloWorldActionTwo">
<forward name="success3" path="/home.action"/>
</action>

/home.action is configured inside the strtus.xml.
11 years ago
Hi all,
I integrated struts1 and struts2 in one application.Now i am trying to call struts2 action from struts1 action class.Can you please tell me how to pass control from strtus1 to strtus2? .I have done by uing redirect action but in this case a new request and a new response are generating, it is not forwarding the exiting request object.Please let me know your valuable posts on this topic.
11 years ago