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
-~----------~----~----~----~------~----~------~--~---

Reply via email to