• 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

struts newbie

 
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello.

I am having a frustrating problem with an action. All it is is a simple foward after a query in a bean, but I keep getting forward success not found from the server log. I am sure I am just missing out on something simple here but I just can't see what, below is the situation:

I have an index doing a redirect:


This is the struts-config bit


I do have the file in the correct directory that struts-config is calling to.

This is the class bit doing the return



This is the server error that I get when I hit index.jsp:


Any help, hints or pointers would be greatly appreciated.

Thanks for reading.

cheers
Martin
 
Ranch Hand
Posts: 4864
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Change

<forward page="success" path="/display/activeProfiles.jsp"/>

to

<forward name="success" path="/display/activeProfiles.jsp"/>
[ June 26, 2006: Message edited by: Merrill Higginson ]
 
Martin Thorpe
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Merril, I kew it was probably something simple. Thanks for your reply. Can't see the woods for looking at the trees.

cheers
Martin
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic