Meaningless Drivel is fun!*
The moose likes Struts and the fly likes POST and REDIRECT IN STRUTS 2...Need Help Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "POST and REDIRECT IN STRUTS 2...Need Help" Watch "POST and REDIRECT IN STRUTS 2...Need Help" New topic
Author

POST and REDIRECT IN STRUTS 2...Need Help

Deepak Lal
Ranch Hand

Joined: Jul 01, 2008
Posts: 507

All Ranchers,
I'm NEW to Struts 2.

I have below Queries:


1> What do you mean by POST and Re-direct in Struts 2 scenario.?



2> Can you explain me with an Example for Re-Direct in Struts 2 ?



3> Can you explain me with an Example for POST in Struts 2 ?



4> What configurations(struts.xml file) are to be made for Redirect and POST in struts 2 framework. ?



Sample Code / Logic provided will be highly appreciated in this regard.

Need help ranchers...

--
Deepak Lal


When The Going Gets Tougher,The Tougher gets Going
Deepak Lal
Ranch Hand

Joined: Jul 01, 2008
Posts: 507

Ranchers,
Please help me with this...
Help provided will be highly appreciated.

--
Deepak Lal
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

http://letmegooglethatforyou.com/?q=struts+2+%2Bpost+redirect
Deepak Lal
Ranch Hand

Joined: Jul 01, 2008
Posts: 507

Hi David,
Thanks for the google thing,But i could not find examples for the same. If you could provide me some examples.It would be really helpful..

Sample Code/Logic provided will be highly appreciated.

--
Deepak Lal
Nishan Patel
Ranch Hand

Joined: Sep 07, 2008
Posts: 684

Hi Deepak again good morning.

for your question this link give you more idea about your question.
Struts 2 result type.And xml configuration.


http://struts.apache.org/2.x/docs/result-types.html


Thanks, Nishan Patel
SCJP 1.5, SCWCD 1.5, OCPJWSD Java Developer,My Blog
Deepak Lal
Ranch Hand

Joined: Jul 01, 2008
Posts: 507

It speaks only about result types.
I needed examples...
 
wood burning stoves
 
subject: POST and REDIRECT IN STRUTS 2...Need Help
 
Similar Threads
How to use, struts 1-- struts-config.xml and struts 2 -- struts.xml together?
dynamically changing where an action forwards to.
welcome-file and forwards...
Alert box issue in Struts
forwarding to jsp