Hi Tom,

Just rename sling webapp to whatever you want the top of your webapp to be.
Tomcat will pick that up.
your urls will look like:
http://localhost:8080/{yourtopname}/{pathtoresource}

Jos


On 09/10/2010 02:51 PM, [email protected] wrote:
   BODY { font-family:Arial, Helvetica, sans-serif;font-size:12px; }Hi
Guys,
  I've been playing around with sling on and off for a few weeks and
in development jetty mode my app runs fine, but I want to deploy to
tomcat where my sling install no longer resides on root.
  Is it possible to set a base url of some sort, so if I do import
sling.js in my esp it knows where to look for resources?
  At the moment when I import it it looks to the root :)
  http://localhost:8080/system/sling/info.sessionInfo.json
  Sorry, noob question, still trying to get my head around all of
this..
  Thanks
  Tom


Reply via email to