Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Struts
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
Struts
struts2 action
Pradeep Adibatla
Ranch Hand
Posts: 336
posted 14 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
what should be written in Action class in order to saty in same page(ui) on click on submit button with the changes? In struts1 we can do return mapping.getInputForward()...what shd be done in Action class of Struts2? kindly help!
David Newton
Author
Posts: 12617
I like...
posted 14 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Create a result that maps to the same page, and return that result name.
Pradeep Adibatla
Ranch Hand
Posts: 336
posted 14 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
you mean to say something like this??
If I have my
jsp
's in folder jsp and am in index.jsp...
<result name="success1" >/jsp/index.jsp</result>
I did not understand what you meant by return the result... kindly explain...
David Newton
Author
Posts: 12617
I like...
posted 14 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
return "success1";
Don't get me started about those stupid
light bulbs
.
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Struts2 Annotations
struts2 result
datetimepicker in struts2
Tags in struts2
Struts2 and Spring integration
More...