> > <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.
Why not: <news> <title>Your data you wish to imprt here</title> <body>More data you wish to import</body> </news> And use the XML-importer or your own piece of Java code to import the XML-file? Regards, Henk.
