Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to run multiple servlets in a racket web server?

Tags:

racket

i read several examples showing how to deploy a servlet in a racket web server, but none mentions how to run multiple ones at a time. so, racket's web application model appeals single-servlet services?

like image 279
象嘉道 Avatar asked Dec 05 '25 12:12

象嘉道


1 Answers

Each file in the servlets directory corresponds to a servlet. That is, all you need to do get multiple servlets is to put them in the servlets directory. This is assuming that you are using the default configurations.

If you want more control, see:

http://docs.racket-lang.org/web-server-internal/dispatch-servlets.html?q=servlet

like image 184
soegaard Avatar answered Dec 08 '25 21:12

soegaard



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!