Hi Marius, I haven't heard of ResourceServer before, sounds interesting. Right now, our CSS and JS files are just in subfolders of webapp, e.g "src/main/webapp/js", what are the advantages of (or reasons behind) putting js files in resources?
- Alex On Jan 9, 3:04 am, Marius <[email protected]> wrote: > It is given by LiftRules.resourceServerPath. Resources places in /src/ > resources/toserve fodler are not served by container, but they are > served by Lift. There is a ResourceServer class that manages that. if > you put your own resources here you need to call ResourceServer.allow > (in your boot) and grant access to those resources. This is a security > related mechanism. > > Br's, > Marius > > On Jan 9, 3:38 am, harmanjd <[email protected]> wrote: > > > I am working through the StartingWithLift document and saw that the > > page includes /classpath/jquery.js. > > > Is that something that jetty supplies, or is that supplied by the lift > > framework? I didn't see that path mapped in the Boot class or > > anything. > > > Thanks, > > > James
-- 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.
