• 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

problem integrating tag libraries with struts application.

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I�m having a problem integrating mondrian/jpivot tag libraries with a struts application.
When the jsp file that contains the tag is called directly it works. When the jsp file is called as the target of a struts forward action there is a nullpointerexception while processing the tag libraries that are used by the jsp file.

I have a single web page that has two links: one anchor�s src is �Test2.jsp� and one is the action �anAction�. The action class always returns the forward success.
The Test2.jsp link works fine with the mondrian tags. The action link works fine when the jsp file does not contain the mondrian tags. When the jsp file contains the tag there is a nuulpointerexception while processing the tags.

The action in the struts_config file:

<action path="/anAction"
type="someAction">
<forward
name="success"
path="/Test2.jsp" />
</action>


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