commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sloan Seaman" <>
Subject Re: [Digester] - Read only methods
Date Thu, 29 May 2003 12:14:09 GMT
It does not display an error message but if I turn on debugging it leaves a
"skipping read only method" in the logs.

Here are the rules:

             new ActionMappingFactory());

(yes, I'm overriding part of Struts to provide my own ActionMappingFactory

The XML in question:
   <action path="/test"
   <set-property property="ACTION_TYPE" value="JDO"/>
   <set-property property="ACTION_PROCESSOR" value="blah"/>
   <forward name="PAGE_ACCESS_DENIED" path="/index.jsp"/>
   <forward name="PAGE_ACTION_FAILURE" path="/index.jsp"/>
   <forward name="PAGE_ACTION_SUCCESS" path="/index.jsp"/>


----- Original Message ----- 
From: "Simon Kitching" <>
To: "Jakarta Commons Users List" <>
Sent: Wednesday, May 28, 2003 6:33 PM
Subject: Re: [Digester] - Read only methods

> On Thu, 2003-05-29 at 07:27, Sloan Seaman wrote:
> > I have a public void setActionMappingClass(String)
> > that Digester does not call because the get is
> > public Class getActionMappingClass() instead of
> > a public String getActionMappingClass()....
> >
> > Just seems odd that Digester would be so strict...
> While this means that your class does not comply with the Java Beans
> specification, I don't see why Digester would not invoke the method.
> Does Digester display an error message, or just appear to ignore the
> rule?
> Can you post the code you use to set up the related rules, and a
> fragment of the input xml?
> Regards,
> Simon
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

This email has been scanned for all viruses by the MessageLabs Email
Security System. For more information on a proactive email security
service working around the clock, around the globe, visit

View raw message