Thanks, Marius. Now, is there something similar for writing XML to a file. I saw nothing on LiftRules that seems to apply.
Glenn... On Jul 4, 12:36 am, "marius d." <[email protected]> wrote: > Try LiftRules.loadResourceAsXml > > Br's, > Marius > > On Jul 4, 1:11 am, glenn <[email protected]> wrote: > > > I've searched this group and combed through the lift book for an > > answer, but found none - how to use file-based storage for data within > > Lift. > > > For example, how would I call something like: > > > def xml = XML.loadFile(<fileName>) > > > without getting a java.io.FileNotFoundException? > > > I tried storing the files in a directory under webapp, and even > > included the directory in the resource path in Boot.scala, like so: > > > ResourceServer.allow({ > > case "contents" :: _ => true > > > }) > > > But that doesn't work. > > > Any help would be appreciated. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~----------~----~----~----~------~----~------~--~---
