You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Jeremie hattat <Je...@orange.fr> on 2003/05/06 10:55:46 UTC
Store definition in database
Hi everybody...
I would like to store a tiles definition into an xml field in database.
Clearly : i use the tiles portal from examples and i would like to store the user preferences in a database. There are 2 solutions :
First : I serialise the "portalsettings" and store it.
Second : I get the example.portal.body, set the user preferences
and store it in xml format. When the user is logging on,
i replace definition example.portal.body by the one stored.
Could i directly get de definition in xml format?
Could i reload a definition with an xml one?
What should i use to realize that? (i'm lost between package xmldefinition, factories... digester...)...
Thanks per advance
Jeremie
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org