File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes jakarta commons and diggester Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Make it so: Java DB Connections & Transactions this week in the JDBC forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "jakarta commons and diggester" Watch "jakarta commons and diggester" New topic

jakarta commons and diggester

Vinicius Carvalho
Ranch Hand

Joined: Dec 07, 2004
Posts: 61
Hello there! I'm trying to use commons chains on my project. Here's a piece of my web.xml:



My catalog.xml is located inside web-inf/classes

here's how it looks like:

<chain name="validarRegraCompraPlanoCobertura">
<command className="com.araujo.convenios.view.administrarregracompra.action.commands.InitSalvarRegraCompraCommand"/>
<command className="com.araujo.convenios.view.administrarregracompra.action.commands.RemoveItensCommand"/>
<command className="com.araujo.convenios.view.administrarregracompra.action.commands.AssembleUpdateRegraCompraCommand"/>

Ok. So I start my app on jboss 4.0.1. It outputs:

18:26:18,470 INFO [ChainListener] Initializing chain listener
18:26:18,720 WARN [Digester] Empty stack (returning null)

Well, so I guess It wasn't able to load the catalog right? When trying to load the catalog from webcontext it returns null. Any ideas please?

Best regards

I agree. Here's the link:
subject: jakarta commons and diggester
It's not a secret anymore!