How to obtain the context path in a Jruby app on Tomcat?

Hi all,

I successfully deployed my JRuby on Rails app on Tomcat

In a jsp page I’d use ${pageContext.request.contextPath} to obtain my

context path.How could I do this in a Ruby controller?

Thanks

Rafael Roque

What does the context path represent within JSP?

-Conrad