This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Struts and the fly likes Cant Redirect struts2.0 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Cant Redirect struts2.0" Watch "Cant Redirect struts2.0" New topic
Author

Cant Redirect struts2.0

jaan bhavsar
Ranch Hand

Joined: Aug 23, 2008
Posts: 32
Hi to all Ranchers.

Can anyone please help me in this problem.I am trying to render a jsp page with list of users,after deleting user .So from list page on jsp i am performing delete action and then trying to redirect on list action .

It successfully delete user from database.but i cant get the list page.

I am sending you struts.xml.

Please help me out.
struts.xml


from Liststudent.jsp i am deleteing the user and then once user is deleted trying to render page on the same Liststudent.jsp
there isnt any error.
in the address bar i am getting http://localhost:9091/smallProject/# with list of all jsp page which are in my webroot directory.

Thank you for help in Advance
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

I don't see anything immediately obvious.

Have you turned devMode on to increase logging? Are you intentionally using upper-case result names and returning hard-coded strings rather than the constants provided by the Action interface (for instance, if you subclassed ActionSupport)?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Cant Redirect struts2.0
 
Similar Threads
Struts2 - Not forwarding to another action using type="Dispatcher"
struts2: howto correctly deligate actions on the struts.xml's include files
Validation error mesage is not display in browser
Struts 2 validation chaining
unable to exceute logout program