• 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

Breadcrumbs - struts 1

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

I've recently started working on a struts project, from a limited JSF background so i'm still learning.

I need to present bread-crumbs for the user, searching around on the web a solution seems to be to extend the RequestProcessor class (to act as some sort of listener on the user navigation) to update the breadcrumbs folowing a user request.

The problem I am having is configuring my controller in my struts-config.xml file.

My config file is along the line of:


..
..
..
</struts-config>

Which I have seen on web-pages and a Struts book, however when I start tomcat I get the error below (I've cut out some of the later exception detail):



Any guidance would be appreciated.
 
Rick Smith
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I've had a mini success to end the day,

After comming back to the problem I tried reordering the configuration file (well the controller element to be precise) as it now seems the error message indicated all along...




E.g. Between the global-forwards and the message-resources elements, I didn't think the order would be important?

In addition to this I needed to extend TilesRequestProcessor instead of RequestProcessor.

Although whether this is the correct approach to be using for breadcrumbs remains to be seen.

[ September 01, 2008: Message edited by: Rich Peate ]

[ September 01, 2008: Message edited by: Rich Peate ]
[ September 01, 2008: Message edited by: Rich Peate ]
 
reply
    Bookmark Topic Watch Topic
  • New Topic