Open GoogleCodeExporter opened 9 years ago
When I start dev_appserver.rb, WEB-INF/web.xml was overwriten too.
I added servlet, filter, etc... but I lost these.
Original comment by sasaki.t...@gmail.com
on 14 Jan 2010 at 7:06
there is a way to add servler filters manually
http://fiddle-sticks.appspot.com/ # example
map '/info' do
run JavaServlet.new('com.example.Info')
end
map '/admin' do
use JavaServletFilter, 'com.example.AdminFilter', :wildcard => true
run JavaServlet.new('com.example.AdminServlet', :wildcard => true)
end
map '/store' do
use JavaServletFilter, 'com.example.StoreFilter', :name => 'StoreFilter'
run JavaServlet.new('com.example.StoreServlet', :name => 'store')
end
Original comment by mando.wo...@gmail.com
on 14 Jan 2010 at 7:17
thanks, now I use this.
But anyone need to use security-constraint or other...
And web.xml does not have rack overhead. (it may very small.)
If I can write web.xml,
Can I create "lazy loading jruby/rails rack servlet" ?
When spining up, this servlet returns redirect response.
If loading is complete, requests is send to rack, jruby, rails,...
To do this, we need divide loading processes into many peaces.
Original comment by sasaki.t...@gmail.com
on 15 Jan 2010 at 3:47
Original issue reported on code.google.com by
mando.wo...@gmail.com
on 17 Dec 2009 at 12:42