• 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
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

Cant Redirect struts2.0

 
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Author
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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)?
 
Slideshow boring ... losing consciousness ... just gonna take a quick nap on this tiny ad ...
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic