The digester is bi-directional, and can create a JavaBean from XML, or
XML from a JavaBean. The RSS digester is a good example. 

http://jakarta.apache.org/commons/digester/commons-digester-1.1.1/docs/api/org/apache/commons/digester/rss/RSSDigester.html

This approach could be used to store user profiles, but I'm not aware of
a published implementation. 

-- Ted Husted, Husted dot Com, Fairport NY US
-- Developing Java Web Applications with Struts
-- Tel: +1 585 737-3463
-- Web: http://husted.com/about/services


[EMAIL PROTECTED] wrote:
> 
> Hi,
> 
> in the struts-example the user data can be read with the help of a
> hashtable an a struts digester.
> But whats about updating the data in the xml-file after user changes?
> The digester can't do. Is there any possibility with struts to update the
> hastable data in the xml-file comfortable.
> Or is there a need to do this outside with e.g. jdom and xerces not so
> comfortable?
> 
> Has somebody an advice or an code example?
> 
> Thanks
> Susanne
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to