Hello, I have a simple rails app (with a controller) deployed on GlassFish v3.
http://localhost:8080/myrailsapp/say/hello displays a simple web page. Here the controller is say and hello is the view. What I want to do is to access http://localhost:8080/myrailsapp/myservlet. I have correctly packaged my servlet inside 'myrailsapp/WEB-INF/lib/myservlet.jar', there is also a web.xml inside 'myrailsapp/WEB-INF/web.xml' which maps SampleServlet to 'myservlet' urlpattern. When I access http://localhost:8080/myrailsapp/myservlet, it gives me: No route matches "/myservlet" with {:method=>:get} This is because rails does not know about myservlet. Can someone suggest how do I wire rails/jruby to dispatch requests to /myservlet URL patter? I dont want to use goldspike as v3 does take care of rails instance and request dispatching to it. -vivek.
