We are putting together Merb application deployment support in GlassFish.
Generally, an application gets deployed with some contextPath unless told
not to do that. For example if the app name is 'blog' then the contextPath
will have blog in it: http://boson:8080/blog/. However when the static
resources are requested we expect the request URL to be something like,
/blog/stylesheet/master.css but it is rather /stylesheet/master.css.

In Rails we take care of it by something like:

ActionController::AbstractRequest.relative_url_root = $contextPath

Is there any such thing in Merb that I can use to tell that the context root
is /blog and not '/'?


-vivek.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"merb" 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/merb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to