hi,

Andr� van Toly wrote:
Another trick, i heard of but never experimented with, would be using the MMBase taglib to import your data. Like for example:

<mm:createnode type="news">
  <mm:setfield name="title">Your data you wish to imprt here</mm:setfield>
  <mm:setfield name="body">More data you wish to import etc.</mm:setfield>
</mm:createnode>

etc.

Thus wrapping the data you wish to import inside taglib code in some JSP-files.

This is an easy way to import small sets of data, however if you try to import larger datasets you surely will hit on the maximum-size-for-method in java. You can of course work around this by using multiple JSPs to do the import, but that will make it harder to create relations between objects.


  Simon



Reply via email to